HtmlFragment Class
Represents html fragment.
Inheritance Hierarchy

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public sealed class HtmlFragment : FormattedFragment

The HtmlFragment type exposes the following members.

Constructors
  NameDescription
Public methodHtmlFragment
Initializes a new instance of the HtmlFragment class.
Properties
  NameDescription
Public propertyHorizontalAlignment
Gets or sets a horizontal alignment of paragraph
(Inherited from BaseParagraph.)
Public propertyHtmlLoadOptions
Gets or 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.
Public propertyHyperlink
Gets or sets the fragment hyperlink(for pdf generator).
(Inherited from BaseParagraph.)
Public propertyIsBreakWords
Gets or sets words break
Public propertyIsFirstParagraphInColumn
Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyIsInLineParagraph
Gets or sets a paragraph is inline. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyIsInNewPage
Gets or sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyIsKeptWithNext
Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyMargin
Gets or sets a outer margin for paragraph (for pdf generation)
(Inherited from BaseParagraph.)
Public propertyRectangle
Gets rectangle of the HtmlFragment
Public propertyTextState
Gets or sets font
Public propertyVerticalAlignment
Gets or sets a vertical alignment of paragraph
(Inherited from BaseParagraph.)
Public propertyZIndex
Gets or 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.
(Inherited from BaseParagraph.)
Methods
See Also