TextSpan.Style Method (TextStyle)

Sets the text style.

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

Syntax

C#
public TextSpan Style(
	TextStyle style
)
VB
Public Function Style ( 
	style As TextStyle
) As TextSpan

Parameters

style
Type: BitMiracle.Docotic.Pdf.Layout.TextStyle
The text style.

Return Value

Type: TextSpan
The updated text.

Exceptions

ExceptionCondition
ArgumentNullExceptionstyle is null.
ArgumentExceptionstyle or its fallback belongs to a different Document.

See Also