Class RenderingResult
Represents a result of the report rendering.
Inheritance
Namespace: Telerik.Reporting.Processing
Assembly: Telerik.Reporting.dll
Syntax
public sealed class RenderingResult
Properties
DocumentBytes
Gets a byte array that contains the rendered report.
Declaration
public byte[] DocumentBytes { get; }
Property Value
System.Byte[]
|
DocumentName
Gets the name of the created document.
Declaration
public string DocumentName { get; }
Property Value
System.String
|
Encoding
Gets the character encoding of the document.
Declaration
public Encoding Encoding { get; }
Property Value
System.Text.Encoding
|
Errors
Gets an array of exceptions that has occurred during the report processing.
Declaration
public Exception[] Errors { get; }
Property Value
System.Exception[]
|
Extension
Gets the file extension of the document.
Declaration
public string Extension { get; }
Property Value
System.String
|
HasErrors
Gets a value that indicates whether the collection contains errors.
Declaration
public bool HasErrors { get; }
Property Value
System.Boolean
|
MimeType
Gets the MIME type of the document.
Declaration
public string MimeType { get; }
Property Value
System.String
|
PageCount
Gets a value that indicates the total number of pages in the generated document.
Declaration
public int PageCount { get; }
Property Value
System.Int32
|
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.