Gets the predefined text style for loading text properties from parent layout elements.
Namespace:
BitMiracle.Docotic.Pdf.Layout
Assembly:
BitMiracle.Docotic.Pdf.Layout (in BitMiracle.Docotic.Pdf.Layout.dll)
Syntax
C#
public static TextStyle Parent { get; }
VB
Public Shared ReadOnly Property Parent As TextStyle
Get
Property Value
Type:
TextStyleThe special text style for loading text properties from parent layout elements.
Remarks
This style depends on context. I.e., text with this style might look differently on different
layout elements. For example, the value Parent.Underline() means "use underline text
with other properties inherited from parent layout elements".
The library uses the following defaults if parent layout elements do not explicitly define text style:
- Font: Helvetica Regular
- Font size: 12 points
- Text color: black, opaque
- Background color: transparent
- Line height: 1.2
- Letter spacing: 0
- Direction (auto/ltr/rtl): auto
- Position (normal/subscript/superscript): normal
- Striketrough: false
- Underline: false
- Wrapping: false
- Fallback: null
See Also