• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class HtmlFixedSaveOptions

Save options for fixed-layout (paginated) HTML files. Each page is rendered as a fixed-size div with absolutely-positioned elements.

Inheritance
object
SaveOptions
HtmlFixedSaveOptions
Inherited Members
SaveOptions.ProgressCallback
SaveOptions.InterruptionToken
SaveOptions.CancellationToken
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX