TextPageNumber.Style Method (Func(Typography, TextStyle))

Sets the text style.

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

Syntax

C#
public TextPageNumber Style(
	Func<Typography, TextStyle> provider
)
VB
Public Function Style ( 
	provider As Func(Of Typography, TextStyle)
) As TextPageNumber

Parameters

provider
Type: System.Func<Typography, TextStyle>
The handler for modifying the current text style.

Return Value

Type: TextPageNumber
The updated page number.

Exceptions

ExceptionCondition
ArgumentNullExceptionprovider is null.
ArgumentExceptionprovider returns a text style belonging to a different Document.

See Also