Class
GetDocumentEventArgs

Provides data for the GetDocument API call modification.

Definition

Namespace:Telerik.Reporting.Services

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public sealed class GetDocumentEventArgs : EventArgs

Inheritance: objectEventArgsGetDocumentEventArgs

Constructors

GetDocumentEventArgs(byte[], string, string, bool, string)

Internal use only

Declaration

cs-api-definition
public GetDocumentEventArgs(byte[] bytes, string documentName, string extension, bool hasError, string errorMessage)

Parameters

bytes

byte[]

documentName

string

extension

string

hasError

bool

errorMessage

string

Properties

Bytes

The document bytes

Declaration

cs-api-definition
public byte[] Bytes { get; set; }

Property Value

byte[]

DocumentName

The document name

Declaration

cs-api-definition
public string DocumentName { get; set; }

Property Value

string

ErrorMessage

The error message if error occurred

Declaration

cs-api-definition
public string ErrorMessage { get; }

Property Value

string

Extension

The document extension

Declaration

cs-api-definition
public string Extension { get; }

Property Value

string

HasError

If an error occurred while generating the document

Declaration

cs-api-definition
public bool HasError { get; }

Property Value

bool