PdfPage.AddActionArea Method (PdfRectangle, 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(
	PdfRectangle boundingBox,
	PdfAction action
)
VB
Public Function AddActionArea ( 
	boundingBox As PdfRectangle,
	action As PdfAction
) As PdfActionArea

Parameters

boundingBox
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle structure that specifies the location and 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