Typography.Plain Property

Gets or sets the text style for plain text.

Namespace:  BitMiracle.Docotic.Pdf.Layout
Assembly:  BitMiracle.Docotic.Pdf.Layout (in BitMiracle.Docotic.Pdf.Layout.dll)

Syntax

C#
public TextStyle Plain { get; set; }
VB
Public Property Plain As TextStyle
	Get
	Set

Property Value

Type: TextStyle
The text style for plain text.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe value is null.
ArgumentException The value or its fallback belongs to a different Document.

Remarks

Default value: Parent with Courier font.

You may use this property for styling text that should appear without additional effects. For example, use monospace font like Courier for this style.

The library does not automatically apply this style to any elements.

See Also