CPDFEditPageCreateNewTextArea Method |
Creates a new text area.
Namespace:
ComPDFKit.PDFPage
Assembly:
ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax public CPDFEditTextArea CreateNewTextArea(
CRect rect,
string fontName,
float fontSize,
byte[] fontColor,
byte transparency = 255,
bool isBold = false,
bool isItalic = false,
TextAlignType alignType = TextAlignType.AlignLeft
)
Parameters
- rect
- Type: CRect
Rectangle on the page. - fontName
- Type: SystemString
Font name. - fontSize
- Type: SystemSingle
Font size. - fontColor
- Type: SystemByte
Font color. - transparency (Optional)
- Type: SystemByte
Font transparency. - isBold (Optional)
- Type: SystemBoolean
Font bold. - isItalic (Optional)
- Type: SystemBoolean
Font italic. - alignType (Optional)
- Type: ComPDFKit.PDFPage.EditTextAlignType
The text alignment.
Return Value
Type:
CPDFEditTextAreaText area.
See Also