API Reference
PowerPointTextRun
Represents a formatted text run within a paragraph.
Inheritance
- Object
- PowerPointTextRun
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method PowerPointParagraph.AddRun
- Property PowerPointParagraph.Runs
- Method PowerPointTableCell.AddRun
- Property PowerPointTableCell.Runs
Accepted by parameters
- Method PowerPointParagraph.AddRun
- Method PowerPointParagraph.AddText
- Method PowerPointTableCell.AddParagraph
- Method PowerPointTableCell.AddRun
- Method PowerPointTextBox.AddParagraph
- Method PowerPointTextStyle.Apply
Methods
public Void SetHyperlink(String url, String tooltip = null) #VoidSets a hyperlink for this run.
Parameters
- url System.String
- tooltip System.String = null
public Void SetHyperlink(Uri uri, String tooltip = null) #VoidSets a hyperlink for this run.
Parameters
- uri System.Uri
- tooltip System.String = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String Language { get; set; } #Gets or sets the BCP 47 language tag applied to this text run.
public String HyperlinkTooltip { get; set; } #Gets or sets the accessible tooltip associated with this run's click hyperlink.
public Boolean HasMeaningfulHyperlinkLabel { get; } #Returns whether the visible link text is meaningful without surrounding context.
public String Text { get; set; } #Text content of the run.
public Boolean Bold { get; set; } #Gets or sets a value indicating whether the run is bold.
public Boolean Italic { get; set; } #Gets or sets a value indicating whether the run is italic.
public Boolean Underline { get; set; } #Gets or sets a value indicating whether the run is underlined.
public Boolean Strikethrough { get; set; } #Gets or sets a value indicating whether the run is strikethrough.
public Nullable<Int32> FontSize { get; set; } #Gets or sets the font size in points.
public String FontName { get; set; } #Gets or sets the font name (Latin).
public String Color { get; set; } #Gets or sets the text color in hexadecimal format (e.g. "FF0000").
public String HighlightColor { get; set; } #Gets or sets the highlight color in hexadecimal format (e.g. "FFFF00").
public Uri Hyperlink { get; set; } #Gets or sets the hyperlink target for this run.