Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddActionArea Method > AddActionArea Method (Double, Double, Double, Double, 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(
	double left,
	double top,
	double width,
	double height,
	PdfAction action
)
VB
Public Function AddActionArea ( 
	left As Double,
	top As Double,
	width As Double,
	height As Double,
	action As PdfAction
) As PdfActionArea

Parameters

left
Type: System.Double
The x-coordinate of the upper-left corner of the action area.
top
Type: System.Double
The y-coordinate of the upper-left corner of the action area.
width
Type: System.Double
The width of the action area.
height
Type: System.Double
The height 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