Interface IOfficeSmartArtTextBody
Represents the alignment and anchoring of the text.
Namespace: Syncfusion.Office
Assembly: Syncfusion.Compression.Base.dll
Syntax
public interface IOfficeSmartArtTextBody
Properties
MarginBottom
Gets or sets the distance between the bottom of the text body and the bottom of the rectangle shape that contains the text, in points. Value ranges from 1 to 1583.
Declaration
double MarginBottom { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The margin bottom of the text body. |
MarginLeft
Gets or sets the distance between the left edge of the text body and the left edge of the rectangle shape that contains the text, in points. Value ranges from 1 to 1583.
Declaration
double MarginLeft { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The margin left of the text body. |
MarginRight
Gets or sets the distance between the right edge of the text body and the right edge of the rectangle shape that contains the text, in points. Value ranges from 1 to 1583.
Declaration
double MarginRight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The margin right of the text body. |
MarginTop
Gets or sets the distance between the top of the text body and the top of the rectangle shape that contains the text, in points. Value ranges from 1 to 1583.
Declaration
double MarginTop { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The margin top of the SmartArt text body. |
Paragraphs
Gets an IOfficeSmartArtParagraphs instance that represents the paragraph collection. Read-only.
Declaration
IOfficeSmartArtParagraphs Paragraphs { get; }
Property Value
Type | Description |
---|---|
IOfficeSmartArtParagraphs | The paragraphs object of the SmartArt text body. |
Text
Gets or sets the text content of the SmartArt text body.
Declaration
string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text of the text body. |
TextDirection
Gets or sets the text direction.
Declaration
OfficeShapeTextDirectionType TextDirection { get; set; }
Property Value
Type | Description |
---|---|
OfficeShapeTextDirectionType | The text direction type of the SmartArt text body. |
VerticalAlignment
Gets or sets the vertical alignment of text in a SmartArt text body.
Declaration
OfficeShapeVerticalAlignmentType VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
OfficeShapeVerticalAlignmentType | The vertical alignment type of the SmartArt text body. |
Methods
AddParagraph(String)
Adds a new paragraph at the end of the paragraph collection.
Declaration
IOfficeSmartArtParagraph AddParagraph(string text = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to be added to the paragraph. If unspecified, the paragraph will be created without any text. |
Returns
Type | Description |
---|---|
IOfficeSmartArtParagraph | An instance of IOfficeSmartArtParagraph representing the added paragraph. |