HtmlLoadOptions Class |
Namespace: Aspose.Pdf
The HtmlLoadOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | HtmlLoadOptions |
Creates load options for converting html into pdf document with empty base path.
|
![]() | HtmlLoadOptions(String) |
Creates load options for converting html into pdf document with defined base path.
|
Name | Description | |
---|---|---|
![]() | BasePath |
The base path/url for the html file.
|
![]() | HtmlMediaType |
Gets or sets possible media types used during rendering.
|
![]() | InputEncoding |
Gets or sets the attribute specifying the encoding used for this document at the time of the parsing. If this attribute is null the encoding will determine from document character set atribute.
|
![]() | IsEmbedFonts |
Gets or sets fonts embedding to result document
|
![]() | IsRenderToSinglePage |
Gets or sets rendering all document to single page
|
![]() | LoadFormat |
Represents file format which LoadOptions describes.
(Inherited from LoadOptions.) |
![]() | PageInfo |
Gets or sets document page info
|
![]() | PageLayoutOption |
Gets or sets layout option.
|
![]() | WarningHandler |
Callback to handle any warnings generated.
The WarningHandler returns ReturnAction enum item specifying either Continue or Abort.
Continue is the default action and the Load operation continues, however the user may also return Abort in which case the Load operation should cease.
(Inherited from LoadOptions.) |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | CustomLoaderOfExternalResources |
Sometimes it's necessary to avoid usage of internal loader of external resources(like images or CSSes)
and supply custom method that will get requested resources from somewhere. For example, during usage
of Aspose.PDF in cloude direct access to referenced files impossible: in such case some custome code put
into special method should be used, and delegate that refers that method should be assygned to this attribute.
|
![]() | ExternalResourcesCredentials |
If loading of external data referenced in HTML
requirs credentials, You can put them into this parameter - they will be used
during loading of external resources
|