Aspose::Pdf::HtmlLoadOptions class

HtmlLoadOptions class

Represents options for loading/importing html file into pdf document.

class HtmlLoadOptions : public Aspose::Pdf::LoadOptions

Methods

MethodDescription
get_BasePath() constThe base path/url for the html file.
get_CreateLogicalStructure() constGets a value indicating whether to create a logical structure in the resulting PDF document.
get_HtmlMediaType() constGets possible media types used during rendering.
get_InputEncoding() constGets 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.
get_IsEmbedFonts() constGets fonts embedding to result document.
get_IsPriorityCssPageRule() const
get_IsRenderToSinglePage() constGets rendering all document to single page.
get_PageInfo() constGets document page info.
get_PageLayoutOption() constGets layout option.
HtmlLoadOptions()Creates load options for converting html into pdf document with empty base path.
HtmlLoadOptions(const System::String&)Creates load options for converting html into pdf document with defined base path.
set_CreateLogicalStructure(bool)Sets a value indicating whether to create a logical structure in the resulting PDF document.
set_HtmlMediaType(Aspose::Pdf::HtmlMediaType)Sets possible media types used during rendering.
set_InputEncoding(const System::String&)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.
set_IsEmbedFonts(bool)Sets fonts embedding to result document.
set_IsPriorityCssPageRule(bool)
set_IsRenderToSinglePage(bool)Sets rendering all document to single page.
set_PageInfo(const System::SharedPtr<Aspose::Pdf::PageInfo>&)Sets document page info.
set_PageLayoutOption(HtmlPageLayoutOption)Sets layout option.

See Also