Class HtmlFixedSaveOptions
Save options for fixed-layout (paginated) HTML files. Each page is rendered as a fixed-size div with absolutely-positioned elements.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class HtmlFixedSaveOptions : SaveOptions
Properties
OptimizeOutput
Gets or sets whether to optimize output by removing redundant elements. Default is false.
Declaration
public bool OptimizeOutput { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PageHorizontalAlignment
Gets or sets the horizontal alignment of pages. Default is Center.
Declaration
public HtmlFixedPageHorizontalAlignment PageHorizontalAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| HtmlFixedPageHorizontalAlignment |
PageMargins
Gets or sets the page margins in points. Default is 10.0.
Declaration
public double PageMargins { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
SaveFontFaceCssSeparately
Gets or sets whether to write @font-face CSS to a separate file. Default is true.
Declaration
public bool SaveFontFaceCssSeparately { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
UseTargetMachineFonts
Gets or sets whether to use fonts installed on the target machine. Default is false.
Declaration
public bool UseTargetMachineFonts { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |