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.2.0.0 (2.2.0.0)
Syntax public bool GetTextStyle(
ref string fontName,
ref float fontSize,
ref byte[] fontColor,
ref byte transparency,
ref bool isBold,
ref bool isItalic
)
Parameters
- fontName
- Type: SystemString
Font name. - 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:
BooleanReturns true on success, false on failure.
See Also