Table of Contents

Property Body

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

Body

Gets or sets the text style applied to Content() and all child elements.

public TextStyle Body { get; set; }

Property Value

TextStyle

The default text style for page contents.

Remarks

Default value: Parent.

You may use this property for styling page contents except of headers and footers.

The library automatically applies this style to Content() containers. This style overrides the Document style and a style set using TextStyle methods.

Exceptions

ArgumentNullException

The value is null.

ArgumentException

The value or its fallback belongs to a different Document.