Table of Contents

Property Body

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

Body

Gets or sets the text style for Content() containers.

public TextStyle Body { get; set; }

Property Value

TextStyle

The text style for primary content of pages.

Remarks

Default value: Parent.

The library automatically applies a combination of this and other text styles to Content() containers. These are the parts of the combination in the order the library combines them:

  • Text defaults
  • The Document style
  • Styles applied by a call to one of the TextStyle methods
  • This (Body) style

Each next part of the combination can replace properties from already combined parts.

Exceptions

ArgumentNullException

The value is null.

ArgumentException

The value or its fallback belongs to a different Document.