Interface ITextBlock
- Namespace
- DocWright.Composition
- Assembly
- DocWright.Composition.dll
Formatting that applies to a placed run of text and the paragraph carrying it.
public interface ITextBlock
Methods
- Bold()
Makes the text bold.
- FontColor(ColorRgb)
Sets the text colour.
- FontFamily(string)
Sets the font family.
- FontSize(double, Unit)
Sets the font size.
- Italic()
Makes the text italic.
- LetterSpacing(double, Unit)
Sets the extra space added between characters.
- LineHeight(double)
Sets the line height as a multiple of single spacing.
- SpacingAfter(double, Unit)
Sets the space below the paragraph.
- SpacingBefore(double, Unit)
Sets the space above the paragraph.
- Strikethrough()
Strikes the text through.
- Underline()
Underlines the text.