[]
Represents the formatting attributes for rendering HTML to GcPdfGraphics.
public class HtmlToPdfFormat
Public Class HtmlToPdfFormat
| Name | Description |
|---|---|
| HtmlToPdfFormat(bool) | Initializes a new instance of HtmlToPdfFormat.
If
If |
| Name | Description |
|---|---|
| DefaultBackgroundColor | Gets or sets the background color to be used if the HTML page doesn't specify one. Defaults to White color. |
| DisplayBackgroundGraphics | Gets or sets a value indicating whether the background graphics should be rendered. Defaults to true. |
| FullPage | Gets 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. |
| MaxPageHeight | Gets or sets the maximum page height, in inches. If unspecified, 200 inches is used. Note that this property is ignored if FullPage is true. |
| MaxPageWidth | Gets or sets the maximum page width, in inches. If unspecified, 200 inches is used. Note that this property is ignored if FullPage is true. |
| Scale | Gets or sets the scale factor, between 0.1 and 2.0. Defaults to 1.0. |
| WindowSize | Gets or sets the virtual window size, in pixels. Defaults to 800 x 600. |