Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddActionArea Method > AddActionArea Method (PdfPoint, PdfSize, PdfAction)
Adds the new action area to the PdfPage.

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

Syntax

C#
public PdfActionArea AddActionArea(
	PdfPoint position,
	PdfSize size,
	PdfAction action
)
VB
Public Function AddActionArea ( 
	position As PdfPoint,
	size As PdfSize,
	action As PdfAction
) As PdfActionArea

Parameters

position
Type: BitMiracle.Docotic.Pdf.PdfPoint
The position of the upper-left corner of the action area.
size
Type: BitMiracle.Docotic.Pdf.PdfSize
The size of the action area.
action
Type: BitMiracle.Docotic.Pdf.PdfAction
The action to be performed when the action area is activated.

Return Value

Type: PdfActionArea
The newly created PdfActionArea object.

See Also