Property Document
- Namespace
- BitMiracle.Docotic.Pdf.Layout
- Assembly
- BitMiracle.Docotic.Pdf.Layout.dll
Document
Gets or sets the base style applied to all text elements.
public TextStyle Document { get; set; }
Property Value
- TextStyle
The base text style.
Remarks
Default value: Parent.
The library automatically applies text defaults and then this style to all text elements. All other styles come next.
Here is the list of defaults for text elements. This and other styles can change the defaults.
- 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
Exceptions
- ArgumentNullException
The value is
null
.- ArgumentException
The value or its fallback belongs to a different Document.