Interface IOfficeSmartArtParagraph
Represents a paragraph in SmartArt.
Namespace: Syncfusion.Office
Assembly: Syncfusion.Compression.NET.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 |
|---|
| 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
| Type |
|---|
| OfficeShapeHorizontalAlignmentType |
LeftIndent
Gets or sets the left indent of the paragraph, in points.
Declaration
double LeftIndent { get; set; }
Property Value
| Type |
|---|
| double |
LineSpacing
Gets or sets the line spacing, in points.
Declaration
double LineSpacing { get; set; }
Property Value
| Type |
|---|
| 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 |
|---|
| 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 |
|---|
| double |
Text
Gets the text content of the paragraph. Read-only.
Declaration
string Text { get; set; }
Property Value
| Type |
|---|
| string |
TextParts
Gets the text part collection of the IOfficeSmartArtTextParts instance. Read-only.
Declaration
IOfficeSmartArtTextParts TextParts { get; }
Property Value
| Type |
|---|
| IOfficeSmartArtTextParts |
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 |
|---|---|---|
| string | textToDisplay | The text content to initialize the new IOfficeSmartArtTextPart instance. |
| 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 |
|---|---|---|
| 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. |