Click or drag to resize

CPDFEditTextAreaGetTextStyle Method

Get the text style of the current position of text cursor.

Namespace:  ComPDFKit.PDFPage.Edit
Assembly:  ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.0.0.0
Syntax
C#
public bool GetTextStyle(
	ref float fontSize,
	ref byte[] fontColor,
	ref byte transparency,
	ref bool isBold,
	ref bool isItalic
)

Parameters

fontSize
Type: SystemSingle
Font size.
fontColor
Type: SystemByte
Font color.
transparency
Type: SystemByte
Font transparency.
isBold
Type: SystemBoolean
Font bold.
isItalic
Type: SystemBoolean
Font italic.

Return Value

Type: Boolean
Returns true on success, false on failure.
See Also