Property Parent
- Namespace
- BitMiracle.Docotic.Pdf.Layout
- Assembly
- BitMiracle.Docotic.Pdf.Layout.dll
Parent
Gets the predefined text style for loading text properties from parent layout elements.
public static TextStyle Parent { get; }
Property Value
- TextStyle
The 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