Documents for PDF .NET Edition
GrapeCity.Documents.Html / GrapeCity.Documents.Pdf Namespace / HtmlToPdfFormat Class
Properties

In This Topic
    HtmlToPdfFormat Class Members
    In This Topic

    The following tables list the members exposed by HtmlToPdfFormat.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of HtmlToPdfFormat.

    If fullPage is true, the resulting size will be calculated automatically to include all page content.

    If fullPage is false, the maximum resulting size will be determined by MaxPageWidth and MaxPageHeight (possibly clipping some content).

     
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the background color to be used if the HTML page doesn't specify one. Defaults to White color.  
    Public PropertyGets or sets a value indicating whether the background graphics should be rendered. Defaults to true.  
    Public PropertyGets or sets a value indicating whether the full HTML page should be rendered.

    Note that if this property is true, MaxPageWidth and MaxPageHeight are ignored.

     
    Public PropertyGets or sets the maximum page height, in inches. If unspecified, 200 inches is used.

    Note that this property is ignored if FullPage is true.

     
    Public PropertyGets or sets the maximum page width, in inches. If unspecified, 200 inches is used.

    Note that this property is ignored if FullPage is true.

     
    Public PropertyGets or sets the scale factor, between 0.1 and 2.0. Defaults to 1.0.  
    Public PropertyGets or sets the virtual window size, in pixels. Defaults to 800 x 600.  
    Top
    See Also