Interface IOfficeSmartArtParagraph
Represents a paragraph in SmartArt.
Namespace: Syncfusion.Office
Assembly: Syncfusion.Compression.Portable.dll
Syntax
public interface IOfficeSmartArtParagraph
Properties
EndParagraphFont
Gets an IOfficeShapeFont instance representing the end paragraph property. Read-only.
Declaration
IOfficeShapeFont EndParagraphFont { get; }
Property Value
Type |
---|
IOfficeShapeFont |
FirstLineIndent
Gets or sets the first line indent of the paragraph, in points.
Declaration
double FirstLineIndent { get; set; }
Property Value
Type |
---|
System.Double |
Font
Gets an IOfficeShapeFont instance of the paragraph. Read-only.
Declaration
IOfficeShapeFont Font { get; }
Property Value
Type |
---|
IOfficeShapeFont |
HorizontalAlignment
Gets or sets the horizontal alignment of the paragraph.
Declaration
OfficeShapeHorizontalAlignmentType HorizontalAlignment { get; set; }
Property Value
LeftIndent
Gets or sets the left indent of the paragraph, in points.
Declaration
double LeftIndent { get; set; }
Property Value
Type |
---|
System.Double |
LineSpacing
Gets or sets the line spacing, in points.
Declaration
double LineSpacing { get; set; }
Property Value
Type |
---|
System.Double |
SpaceAfter
Gets or sets the amount of space after the last line in each paragraph of the specified text, in points.
Declaration
double SpaceAfter { get; set; }
Property Value
Type |
---|
System.Double |
SpaceBefore
Gets or sets the amount of space before the first line in each paragraph of the specified text, in points.
Declaration
double SpaceBefore { get; set; }
Property Value
Type |
---|
System.Double |
Text
Gets the text content of the paragraph. Read-only.
Declaration
string Text { get; set; }
Property Value
Type |
---|
System.String |
TextParts
Gets the text part collection of the IOfficeSmartArtTextParts instance. Read-only.
Declaration
IOfficeSmartArtTextParts TextParts { get; }
Property Value
Methods
AddHyperlink(String, String)
Adds a hyperlink to the text part with the specified link.
Declaration
IOfficeShapeHyperlink AddHyperlink(string textToDisplay, string link)
Parameters
Type | Name | Description |
---|---|---|
System.String | textToDisplay | The text content to initialize the new IOfficeSmartArtTextPart instance. |
System.String | link | The address of the target document path or web URL. |
Returns
Type | Description |
---|---|
IOfficeShapeHyperlink | An IOfficeShapeHyperlink instance. |
AddTextPart(String)
Adds a text part to the text part collection with the specified text.
Declaration
IOfficeSmartArtTextPart AddTextPart(string text = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to be added to the text part. If unspecified, the text part will be created without any text. |
Returns
Type | Description |
---|---|
IOfficeSmartArtTextPart | An IOfficeSmartArtTextPart instance. |
Clone()
Creates an independent copy of the IOfficeSmartArtParagraph instance.
Declaration
IOfficeSmartArtParagraph Clone()
Returns
Type | Description |
---|---|
IOfficeSmartArtParagraph | A cloned paragraph instance. |