Class BaseParagraph

BaseParagraph class

Represents a abstract base object can be added to the page(doc.Paragraphs.Add()).

public abstract class BaseParagraph : ICloneable

Properties

NameDescription
virtual HorizontalAlignment { get; set; }Gets or sets a horizontal alignment of paragraph
virtual Hyperlink { get; set; }Gets or sets the fragment hyperlink(for pdf generator).
IsFirstParagraphInColumn { get; set; }Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
IsInLineParagraph { get; set; }Gets or sets a paragraph is inline. Default is false.(for pdf generation)
IsInNewPage { get; set; }Gets or sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
IsKeptWithNext { get; set; }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)
Margin { get; set; }Gets or sets a outer margin for paragraph (for pdf generation)
virtual VerticalAlignment { get; set; }Gets or sets a vertical alignment of paragraph
ZIndex { get; set; }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.

Methods

NameDescription
virtual Clone()Clones this instance. Virtual method. Always return null.

See Also