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
positionPdfPointThe position of the upper-left corner of the action area.
sizePdfSizeThe size of the action area.
actionPdfActionThe 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
boundingBoxPdfRectangleThe PdfRectangle structure that specifies the location and the size of the action area.
actionPdfActionThe 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
leftdoubleThe x-coordinate of the upper-left corner of the action area.
topdoubleThe y-coordinate of the upper-left corner of the action area.
widthdoubleThe width of the action area.
heightdoubleThe height of the action area.
actionPdfActionThe action to be performed when the action area is activated.
Returns
- PdfActionArea
The newly created PdfActionArea object.