Method AddActionArea
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddActionArea(PdfPoint, PdfSize, PdfAction?)
Adds the new action area to the PdfPage.
public PdfActionArea AddActionArea(PdfPoint position, PdfSize size, PdfAction? action)
Parameters
position
PdfPointThe position of the upper-left corner of the action area.
size
PdfSizeThe size of the action area.
action
PdfActionThe action to be performed when the action area is activated.
Returns
- PdfActionArea
The newly created PdfActionArea object.
AddActionArea(PdfRectangle, PdfAction?)
Adds the new action area to the PdfPage.
public PdfActionArea AddActionArea(PdfRectangle boundingBox, PdfAction? action)
Parameters
boundingBox
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the action area.
action
PdfActionThe action to be performed when the action area is activated.
Returns
- PdfActionArea
The newly created PdfActionArea object.
AddActionArea(double, double, double, double, PdfAction?)
Adds the new action area to the PdfPage.
public PdfActionArea AddActionArea(double left, double top, double width, double height, PdfAction? action)
Parameters
left
doubleThe x-coordinate of the upper-left corner of the action area.
top
doubleThe y-coordinate of the upper-left corner of the action area.
width
doubleThe width of the action area.
height
doubleThe height of the action area.
action
PdfActionThe action to be performed when the action area is activated.
Returns
- PdfActionArea
The newly created PdfActionArea object.