Class DrawingTextParagraph
Represents the drawing text paragraph used by the presentation model.
Inherited Members
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class DrawingTextParagraph
Constructors
DrawingTextParagraph()
Initializes a new instance of the drawing text paragraph class.
Declaration
public DrawingTextParagraph()
Fields
fontAlgn
Gets or sets the font algn text.
Declaration
public string fontAlgn
Field Value
| Type | Description |
|---|---|
| string |
Properties
Alignment
Gets or sets the alignment associated with this object.
Declaration
public virtual TextAlignType Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TextAlignType |
Bullet
Gets or sets the bullet associated with this object.
Declaration
public virtual DrawingTextBullet Bullet { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingTextBullet |
ExactlyAt
Gets or sets the exactly at associated with this object.
Declaration
public virtual double? ExactlyAt { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Format
Gets or sets the format associated with this object.
Declaration
public DrawingTextParagraphFormat Format { get; }
Property Value
| Type | Description |
|---|---|
| DrawingTextParagraphFormat |
IndentationBeforeText
Gets or sets the indentation before text associated with this object.
Declaration
public virtual DoubleUnit IndentationBeforeText { get; set; }
Property Value
| Type | Description |
|---|---|
| DoubleUnit |
Level
Gets or sets the zero-based nesting level of this paragraph.
Declaration
public int Level { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
LineSpacing
Gets or sets the line spacing associated with this object.
Declaration
public virtual LineSpacing LineSpacing { get; set; }
Property Value
| Type | Description |
|---|---|
| LineSpacing |
MultipleAt
Gets or sets the multiple at associated with this object.
Declaration
public virtual double? MultipleAt { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
RightToLeft
Gets or sets the right to left associated with this object.
Declaration
public virtual bool? RightToLeft { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Runs
Gets the collection of runs associated with this object.
Declaration
public virtual TextRunCollection Runs { get; protected set; }
Property Value
| Type | Description |
|---|---|
| TextRunCollection |
SpacingAfterPoints
Gets or sets the spacing after points associated with this object.
Declaration
public virtual double SpacingAfterPoints { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
SpacingBeforePoints
Gets or sets the spacing before points associated with this object.
Declaration
public virtual double SpacingBeforePoints { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Special
Gets or sets the special associated with this object.
Declaration
public virtual SpecialIndentation Special { get; set; }
Property Value
| Type | Description |
|---|---|
| SpecialIndentation |
SpecialByInches
Gets or sets the special by inches associated with this object.
Declaration
public double SpecialByInches { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
TabStops
Gets the collection of tab stops associated with this object.
Declaration
public virtual TabStopCollection TabStops { get; protected set; }
Property Value
| Type | Description |
|---|---|
| TabStopCollection |
Text
Gets or sets the text text.
Declaration
public virtual string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
AddLineBreak()
Adds a line-break element (<a:br>) to the paragraph and returns it.
Declaration
public DrawingTextLineBreak AddLineBreak()
Returns
| Type | Description |
|---|---|
| DrawingTextLineBreak |
AddRun(string)
Adds a new text run and returns it.
Declaration
public DrawingTextRun AddRun(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text |
Returns
| Type | Description |
|---|---|
| DrawingTextRun |
GetRect()
Returns the paragraph bounds in points, approximated inside the owning text shape.
Declaration
public RectangleDouble GetRect()
Returns
| Type | Description |
|---|---|
| RectangleDouble |
GetRect(AbstractShape)
Returns the paragraph bounds in points, approximated inside the supplied text shape.
Declaration
public RectangleDouble GetRect(AbstractShape textHostShape)
Parameters
| Type | Name | Description |
|---|---|---|
| AbstractShape | textHostShape |
Returns
| Type | Description |
|---|---|
| RectangleDouble |