ClassRenderingResult
Represents a result of the report rendering.
Definition
Namespace:Telerik.Reporting.Processing
Assembly:Telerik.Reporting.dll
Syntax:
public sealed class RenderingResult
Inheritance: objectRenderingResult
Properties
DocumentBytes
Gets a byte array that contains the rendered report.
Declaration
public byte[] DocumentBytes { get; }
Property Value
byte[]
DocumentName
Gets the name of the created document.
Declaration
public string DocumentName { get; }
Property Value
string
Encoding
Gets the character encoding of the document.
Declaration
public Encoding Encoding { get; }
Property Value
Encoding
Errors
Gets an array of exceptions that has occurred during the report processing.
Declaration
public Exception[] Errors { get; }
Property Value
Exception[]
Extension
Gets the file extension of the document.
Declaration
public string Extension { get; }
Property Value
string
HasErrors
Gets a value that indicates whether the collection contains errors.
Declaration
public bool HasErrors { get; }
Property Value
bool
MimeType
Gets the MIME type of the document.
Declaration
public string MimeType { get; }
Property Value
string
PageCount
Gets a value that indicates the total number of pages in the generated document.
Declaration
public int PageCount { get; }
Property Value
int
Remarks
For formats supporting pagination, the total number of pages is calculated by the rendering engine according to the report's page settings. For formats not supporting pagination, e.g. XLS, XLSX, CSV, the property will return a default value of 0.