Method AddHyperlink
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddHyperlink(PdfPoint, PdfSize, Uri)
Adds the new hyperlink area to the PdfPage.
public PdfActionArea AddHyperlink(PdfPoint position, PdfSize size, Uri uri)
Parameters
positionPdfPointThe position of the upper-left corner of the hyperlink area.
sizePdfSizeThe size of the hyperlink area.
uriUriThe uniform resource identifier (URI) to be resolved when the hyperlink area is activated.
Returns
- PdfActionArea
The newly created PdfActionArea object.
AddHyperlink(PdfRectangle, Uri)
Adds the new hyperlink area to the PdfPage.
public PdfActionArea AddHyperlink(PdfRectangle boundingBox, Uri uri)
Parameters
boundingBoxPdfRectangleThe PdfRectangle structure that specifies the location and the size of the hyperlink area.
uriUriThe uniform resource identifier (URI) to be resolved when the hyperlink area is activated.
Returns
- PdfActionArea
The newly created PdfActionArea object.
AddHyperlink(double, double, double, double, Uri)
Adds the new hyperlink area to the PdfPage.
public PdfActionArea AddHyperlink(double left, double top, double width, double height, Uri uri)
Parameters
leftdoubleThe x-coordinate of the upper-left corner of the hyperlink area.
topdoubleThe y-coordinate of the upper-left corner of the hyperlink area.
widthdoubleThe width of the hyperlink area.
heightdoubleThe height of the hyperlink area.
uriUriThe uniform resource identifier (URI) to be resolved when the hyperlink area is activated.
Returns
- PdfActionArea
The newly created PdfActionArea object.