Class HTMLExport
Represents the HTML export filter.
Inheritance
System.Object
HTMLExport
Assembly: FastReport.Base.dll
Syntax
public class HTMLExport : ExportBase, IDisposable, IFRSerializable, IHTMLBaseExport
Constructors
HTMLExport()
Initializes a new instance of the HTMLExport class.
Declaration
HTMLExport(Boolean)
Initializes a new instance of the HTMLExport class for WebPreview mode.
Declaration
public HTMLExport(bool webPreview)
Parameters
Type |
Name |
Description |
System.Boolean |
webPreview |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
EmbeddedImages
Gets or sets images, embedded in html (hash:base64Image)
Declaration
public Dictionary<string, string> EmbeddedImages { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.String> |
|
EmbedPictures
Enable or disable embedding pictures in HTML export
Declaration
public bool EmbedPictures { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableMargins
Enable or disable margins for pages. Works only for Layers-mode.
Declaration
public bool EnableMargins { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableVectorObjects
Enable or disable export of vector objects such as Barcodes in SVG format.
Declaration
public bool EnableVectorObjects { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ExportMode
Gets or sets html export mode
Declaration
public HTMLExport.ExportType ExportMode { get; set; }
Property Value
Specifies the output format
Declaration
public HTMLExportFormat Format { get; set; }
Property Value
HeightUnits
Specifies the height units in HTML export
Declaration
public HtmlSizeUnits HeightUnits { get; set; }
Property Value
HighQualitySVG
Enable or disable a picture optimization.
Declaration
public bool HighQualitySVG { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the image format.
Declaration
public ImageFormat ImageFormat { get; set; }
Property Value
Layers
Enable or disable layers export mode
Declaration
public bool Layers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Navigator
Enable or disable the page navigator in html export
Declaration
public bool Navigator { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
NotRotateLandscapePage
Not rotate landscape page when print.
Declaration
public bool NotRotateLandscapePage { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
OnClickTemplate
Declaration
public string OnClickTemplate { get; set; }
Property Value
Type |
Description |
System.String |
|
PageBreaks
Enable or disable the breaks between pages in print preview when single page mode is enabled
Declaration
public bool PageBreaks { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Pictures
Enable or disable the pictures in HTML export
Declaration
public bool Pictures { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
PreparedPages
Declaration
public List<HTMLPageData> PreparedPages { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<HTMLPageData> |
|
Preview
Enable or disable preview in Web settings
Declaration
public bool Preview { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Print
Enable or disable showing of print dialog in browser when html document is opened
Declaration
public bool Print { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
PrintPageData
Declaration
public HTMLPageData PrintPageData { get; }
Property Value
ReportID
Declaration
public string ReportID { get; set; }
Property Value
Type |
Description |
System.String |
|
SaveStreams
Enable or disable saving streams in GeneratedStreams collection.
Declaration
public bool SaveStreams { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SinglePage
Enable or disable the single HTML page creation
Declaration
public bool SinglePage { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
StylePrefix
Declaration
public string StylePrefix { get; set; }
Property Value
Type |
Description |
System.String |
|
SubFolder
Enable or disable the sub-folder for files of export
Declaration
public bool SubFolder { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
WebImagePrefix
Declaration
public string WebImagePrefix { get; set; }
Property Value
Type |
Description |
System.String |
|
WebImageSuffix
Declaration
public string WebImageSuffix { get; set; }
Property Value
Type |
Description |
System.String |
|
WidthUnits
Specifies the width units in HTML export
Declaration
public HtmlSizeUnits WidthUnits { get; set; }
Property Value
Wysiwyg
Gets or sets the WYSIWYG quality of export
Declaration
public bool Wysiwyg { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
ExportPageBegin(ReportPage)
Declaration
protected override void ExportPageBegin(ReportPage page)
Parameters
Overrides
ExportPageEnd(ReportPage)
Declaration
protected override void ExportPageEnd(ReportPage page)
Parameters
Overrides
ExportReportObject(ReportComponentBase)
Declaration
public void ExportReportObject(ReportComponentBase obj)
Parameters
Finish()
Declaration
protected override void Finish()
Overrides
GetFileFilter()
Declaration
protected override string GetFileFilter()
Returns
Type |
Description |
System.String |
|
Overrides
Init_WebMode()
Declaration
public void Init_WebMode()
ProcessPageBegin(Int32, Int32, ReportPage)
Process Page with number p and real page ReportPage
Declaration
public void ProcessPageBegin(int p, int ReportPage, ReportPage page)
Parameters
Type |
Name |
Description |
System.Int32 |
p |
|
System.Int32 |
ReportPage |
|
ReportPage |
page |
|
ProcessPageEnd(Int32, Int32)
Process Page with number p and real page ReportPage
Declaration
public void ProcessPageEnd(int p, int ReportPage)
Parameters
Type |
Name |
Description |
System.Int32 |
p |
|
System.Int32 |
ReportPage |
|
Serialize(FRWriter)
Declaration
public override void Serialize(FRWriter writer)
Parameters
Overrides
Start()
Declaration
protected override void Start()
Overrides
Events
CustomDraw
Declaration
public event EventHandler<CustomDrawEventArgs> CustomDraw
Event Type
Implements