Interface IOfficeSmartArtTextPart
Represents an individual text part in a paragraph.
Namespace: Syncfusion.Office
Assembly: Syncfusion.DocIO.UWP.dll
Syntax
public interface IOfficeSmartArtTextPart
Properties
Font
Gets an IOfficeShapeFont instance of the SmartArt text part. Read-only.
Declaration
IOfficeShapeFont Font { get; }
Property Value
| Type | Description |
|---|---|
| IOfficeShapeFont | An IOfficeShapeFont instance representing the font formatting. |
Hyperlink
Gets an IOfficeShapeHyperlink instance that represents the hyperlink for the SmartArt text part. Read-only.
Declaration
IOfficeShapeHyperlink Hyperlink { get; }
Property Value
| Type | Description |
|---|---|
| IOfficeShapeHyperlink | An IOfficeShapeHyperlink instance representing the hyperlink. |
Text
Gets or sets the text content.
Declaration
string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The text value of the SmartArt text part. |
UnderlineColor
Gets or sets the underline color for the text.
Declaration
Color UnderlineColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The underline color of the SmartArt text part. |
Methods
RemoveHyperlink()
Removes the hyperlink from the current SmartArt text part.
Declaration
void RemoveHyperlink()
SetHyperlink(String)
Sets the hyperlink to the SmartArt text part.
Declaration
IOfficeShapeHyperlink SetHyperlink(string link)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | link | Represents the address of the target hyperlink. |
Returns
| Type | Description |
|---|---|
| IOfficeShapeHyperlink | Returns an IOfficeShapeHyperlink instance. |
Remarks
The target can be a document path, web URL, target bookmark, or email ID.