New to Telerik ReportingStart a free 30-day trial

Provides data for the GetDocument API call modification.

Definition

Namespace:Telerik.Reporting.Services

Assembly:Telerik.Reporting.dll

Syntax:

C#
public sealed class GetDocumentEventArgs : EventArgs

Inheritance: objectEventArgsGetDocumentEventArgs

Constructors

Internal use only

C#
public GetDocumentEventArgs(byte[] bytes, string documentName, string extension, bool hasError, string errorMessage)
Parameters:bytesbyte[]documentNamestringextensionstringhasErrorboolerrorMessagestring

Properties

Bytes

byte[]

The document bytes

C#
public byte[] Bytes { get; set; }

The document name

C#
public string DocumentName { get; set; }

The error message if error occurred

C#
public string ErrorMessage { get; }

Extension

string

The document extension

C#
public string Extension { get; }

If an error occurred while generating the document

C#
public bool HasError { get; }