Class
IWorkTextRunData
OfficeIMO.IWork
An immutable character run for template-free native iWork creation.
Inheritance
- object
- IWorkTextRunData
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property IWorkKeynoteTextBox.Runs
- Property IWorkPagesDocument.Footer
- Property IWorkPagesDocument.Header
- Property IWorkPagesParagraphData.Runs
Accepted by parameters 5
Constructors
public IWorkTextRunData(string text, string fontName = "Arial", float fontSizePoints = 32, string color = "000000", bool bold = false, bool italic = false, bool underline = false, bool strikethrough = false) #Creates a run with one font, size, opaque sRGB color and character decoration.
Parameters
- text string
- fontName string = "Arial"
- fontSizePoints float = 32
- color string = "000000"
- bold bool = false
- italic bool = false
- underline bool = false
- strikethrough bool = false
Inherited Methods
Properties
public bool Strikethrough { get; } #Gets whether the run has a single strikethrough.