Class DrawingTextParagraph
Represents a text paragraph in a drawing shape.
Inherited Members
Namespace: DRIT.Spreadsheet.Drawing
Assembly: DRIT.Spreadsheet.dll
Syntax
public class DrawingTextParagraph
Constructors
DrawingTextParagraph()
Initializes a new instance of the DrawingTextParagraph class.
Declaration
public DrawingTextParagraph()
Fields
fontAlgn
Exposes the font algn associated with DrawingTextParagraph.
Declaration
public string fontAlgn
Field Value
| Type | Description |
|---|---|
| string | The font algn returned by the operation. |
Properties
Alignment
Specifies the horizontal alignment of the text.
Declaration
public TextAlignType Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TextAlignType |
ExactlyAt
Specifies the exact line height value.
Declaration
public double? ExactlyAt { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
IndentationBeforeText
Specifies the indentation before text.
Declaration
public DoubleUnit IndentationBeforeText { get; set; }
Property Value
| Type | Description |
|---|---|
| DoubleUnit |
LineSpacing
Specifies the line spacing settings.
Declaration
public LineSpacing LineSpacing { get; set; }
Property Value
| Type | Description |
|---|---|
| LineSpacing |
MultipleAt
Specifies the multiple line height value.
Declaration
public double? MultipleAt { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Runs
Gets the collection of text runs in this paragraph.
Declaration
public TextRunCollection Runs { get; }
Property Value
| Type | Description |
|---|---|
| TextRunCollection |
SpacingAfterPoints
Specifies the spacing after the paragraph in points.
Declaration
public double SpacingAfterPoints { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
SpacingBeforePoints
Specifies the spacing before the paragraph in points.
Declaration
public double SpacingBeforePoints { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Special
Specifies the special indentation type.
Declaration
public SpecialIndentation Special { get; set; }
Property Value
| Type | Description |
|---|---|
| SpecialIndentation |
SpecialByInches
Specifies the special indentation value in inches.
Declaration
public double SpecialByInches { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Text
Specifies the text content of the paragraph.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
AddRun(string)
Adds a new text run with the specified text and returns it.
Declaration
public DrawingTextRun AddRun(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text |
Returns
| Type | Description |
|---|---|
| DrawingTextRun |