RenderingResult
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
byte[]
Gets a byte array that contains the rendered report.
public byte[] DocumentBytes { get; }
DocumentName
string
Gets the name of the created document.
public string DocumentName { get; }
Encoding
Encoding
Gets the character encoding of the document.
public Encoding Encoding { get; }
Errors
Exception[]
Gets an array of exceptions that has occurred during the report processing.
public Exception[] Errors { get; }
Extension
string
Gets the file extension of the document.
public string Extension { get; }
HasErrors
bool
Gets a value that indicates whether the collection contains errors.
public bool HasErrors { get; }
MimeType
string
Gets the MIME type of the document.
public string MimeType { get; }
PageCount
int
Gets a value that indicates the total number of pages in the generated document.
public int PageCount { get; }
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.