Class ExportSettings
Provides additional settings to enhance the export files.
Inheritance
System.Object
ExportSettings
Namespace: BoldReports.Writer
Assembly: BoldReports.Web.dll
Syntax
public class ExportSettings : Object
Constructors
ExportSettings()
Declaration
public ExportSettings()
Properties
FileName
Gets or sets the name of the exporting file to be saved.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string containing the name of the exporting file. |
ImageQuality
Specifies the quality in which the data visualization items has to be exported
Declaration
public int ImageQuality { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer that represents the 1 to 10. |
UsePrintSizes
Gets or sets a value indicating whether the PrintPage Settings need to apply to export or not.
Declaration
public bool UsePrintSizes { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | It set to true if the the PrintPage Settings need to apply to export; otherwise false. |
Methods
CustomizeDocument(Object)
Can be used as a Overridden method to modify the Export Documents
Declaration
public virtual void CustomizeDocument(object document)
Parameters
Type | Name | Description |
---|---|---|
System.Object | document | That contains the Document information for all export types |
GetImageFromHTML(String)
Can be used to convert the image from external browser
Declaration
public virtual string GetImageFromHTML(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url |
Returns
Type | Description |
---|---|
System.String |