Click or drag to resize

CPDFEditPageCreateNewTextArea Method

Creates a new text area.

Namespace:  ComPDFKit.PDFPage
Assembly:  ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.0.0.0
Syntax
C#
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: ComPDFKit.ImportCRect
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: CPDFEditTextArea
Text area.
See Also