Aspose::Pdf::HtmlFragment class
Contents
[
Hide
]HtmlFragment class
Represents html fragment.
class HtmlFragment : public Aspose::Pdf::FormattedFragment
Methods
Method | Description |
---|---|
BaseParagraph() | |
Clone() override | Clones html fragment. |
virtual get_HorizontalAlignment() | Gets a horizontal alignment of paragraph. |
get_HtmlLoadOptions() const | Gets HtmlLoadOptions that will be used for loading (and rendering) of HTML into this instance of class. Please use it when it’s necessary use specific setting for import of HTML for this or that instance (f.e when this or that instance should use specific BasePath for imported HTML or should use specific loader of external resources) If parameter is default (null), then standard HTML loading options will be used. |
virtual get_Hyperlink() | Gets the fragment hyperlink(for pdf generator). |
get_IsBreakWords() const | Gets words break. |
get_IsFirstParagraphInColumn() const | Gets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation) |
get_IsInLineParagraph() const | Gets a paragraph is inline. Default is false.(for pdf generation) |
get_IsInNewPage() const | Gets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation) |
get_IsKeptWithNext() const | Gets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation) |
get_IsParagraphHasMargin() const | Gets is paragraph has default margin otherwise margin is 0. |
get_Margin() | Gets a outer margin for paragraph (for pdf generation) |
get_Rectangle() const | Gets rectangle of the HtmlFragment. |
get_TextState() const | Gets font. |
virtual get_VerticalAlignment() | Gets a vertical alignment of paragraph. |
get_ZIndex() const | Gets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page. |
HtmlFragment(System::String) | Initializes a new instance of the HtmlFragment class. |
virtual set_HorizontalAlignment(Aspose::Pdf::HorizontalAlignment) | Sets a horizontal alignment of paragraph. |
set_HtmlLoadOptions(System::SharedPtr<Aspose::Pdf::HtmlLoadOptions>) | Sets HtmlLoadOptions that will be used for loading (and rendering) of HTML into this instance of class. Please use it when it’s necessary use specific setting for import of HTML for this or that instance (f.e when this or that instance should use specific BasePath for imported HTML or should use specific loader of external resources) If parameter is default (null), then standard HTML loading options will be used. |
virtual set_Hyperlink(System::SharedPtr<Aspose::Pdf::Hyperlink>) | Sets the fragment hyperlink(for pdf generator). |
set_IsBreakWords(bool) | Sets words break. |
set_IsFirstParagraphInColumn(bool) | Sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation) |
set_IsInLineParagraph(bool) | Sets a paragraph is inline. Default is false.(for pdf generation) |
set_IsInNewPage(bool) | Sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation) |
set_IsKeptWithNext(bool) | Sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation) |
set_IsParagraphHasMargin(bool) | Sets is paragraph has default margin otherwise margin is 0. |
set_Margin(System::SharedPtr<MarginInfo>) | Sets a outer margin for paragraph (for pdf generation) |
set_TextState(System::SharedPtr<Aspose::Pdf::Text::TextState>) | Sets font. |
virtual set_VerticalAlignment(Aspose::Pdf::VerticalAlignment) | Sets a vertical alignment of paragraph. |
set_ZIndex(int32_t) | Sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page. |
See Also
- Class FormattedFragment
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++