| Html | 
 Inheritance Hierarchy
Inheritance Hierarchy Syntax
SyntaxThe HtmlToPdfOptions type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|   | HtmlToPdfOptions | Default constructor for the HtmlToPdfOptions class. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | BaseUrl | Gets and sets base URL when converting HTML string. All assets such as CSS, JavaScript files and images will be loaded relative to that base URL. Default: null. (For example, "https://example.com", "d:\my webs\"). | 
|   | ChromiumBaseDirectory | Gets and sets a custom directory where will be placed portable Chromium browser. Default value depends of platform (win-x64, win-86, linux-x64 or osx-x64)Current directory\runtimes\win-x64\native\. | 
|  | ChromiumRevision | Gets and sets the Chromium revision. Defaults: Windows - "1115623", Linux - "1115563", MacOs - "1115611". | 
|   | Footer | Footer in HTML format. Default: String.Empty. Should be valid HTML markup with following classes used to inject printing values into them: date - formatted print date title - document title url - document location pageNumber - current page number totalPages - total pages in the document | 
|   | Header | Header in HTML format. Default: String.Empty. Should be valid HTML markup with following classes used to inject printing values into them: date - formatted print date title - document title url - document location pageNumber - current page number totalPages - total pages in the document | 
|   | PageSetup | Gets and sets the page setup properties: paper type, orientation, margins and so forth. | 
|   | PrintBackground | Print background graphics. Default: true. | 
|  | Scale | Scale of the webpage rendering. Default: 1.0M. Scale amount must be between 0.1 and 2. | 
|  | ViewPortOptions | Gets or sets browser Width and Height and some other options. Default: 1920x1080. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object) | 
|  | GetType | Gets the Type of the current instance. (Inherited from Object) | 
|  | ToString | Returns a string that represents the current object. (Inherited from Object) | 
 See Also
See Also