Class DocumentExportOptions

Defines document-specific export options.

Inheritance
System.Object
DocumentExportOptions
Implements
Namespace: Reveal.Sdk
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public class DocumentExportOptions : ExportOptions, IExportOptions, IDocumentExportOptions, IInitScriptProviderExportOptions

Constructors

DocumentExportOptions()

Initializes a new instance of the document export options.

Declaration
public DocumentExportOptions()

DocumentExportOptions(IExportOptions)

Initializes a new instance of the document export options from existing export options.

Declaration
public DocumentExportOptions(IExportOptions options)
Parameters
Type Name Description
IExportOptions options

The export options to copy values from.

Properties

Author

Document author. It will be displayed in the upper left corner

Declaration
public string Author { get; set; }
Property Value
Type Description
System.String

Color

Color used for titles underlines

Declaration
public int Color { get; set; }
Property Value
Type Description
System.Int32

Company

Company name displayed in the lower left corner

Declaration
public string Company { get; set; }
Property Value
Type Description
System.String

CreatedBy

Declaration
public string CreatedBy { get; set; }
Property Value
Type Description
System.String

InitScript

Indicates a script used to initialize revealView when exporting. The script must contain a function called initReveal(revealView)

Declaration
public string InitScript { get; set; }
Property Value
Type Description
System.String
Examples

function initReveal(revealView) { revealView.onVisualizationSeriesColorAssigning = function(visualization, defaultColor, fieldName, categoryName) { if (categoryName === "Critical") { return "rgb(0,0,0)"; } return defaultColor; }; }

IsLandscape

Indicates page orientation when exporting

Declaration
public bool IsLandscape { get; set; }
Property Value
Type Description
System.Boolean

Company logo displayed in the lower left corner. Only in the first page

Declaration
public byte[] Logo { get; set; }
Property Value
Type Description
System.Byte[]

PoweredBy

Declaration
public string PoweredBy { get; set; }
Property Value
Type Description
System.String

Implements

IExportOptions
IDocumentExportOptions
IInitScriptProviderExportOptions