Method AddButton
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddButton(PdfPoint, PdfSize)
Adds the new button control with auto-generated name to the PdfPage.
public PdfButton AddButton(PdfPoint position, PdfSize size)
Parameters
position
PdfPointThe position of the upper-left corner of the button.
size
PdfSizeThe size of the button.
Returns
Remarks
AddButton(PdfRectangle)
Adds the new button control with auto-generated name to the PdfPage.
public PdfButton AddButton(PdfRectangle boundingBox)
Parameters
boundingBox
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the button.
Returns
Remarks
AddButton(double, double, double, double)
Adds the new button control with auto-generated name to the PdfPage.
public PdfButton AddButton(double left, double top, double width, double height)
Parameters
left
doubleThe x-coordinate of the upper-left corner of the button.
top
doubleThe y-coordinate of the upper-left corner of the button.
width
doubleThe width of the button.
height
doubleThe height of the button.
Returns
Remarks
AddButton(string, PdfPoint, PdfSize)
Adds the new button control with specified unique name to the PdfPage.
public PdfButton AddButton(string name, PdfPoint position, PdfSize size)
Parameters
name
stringThe unique name of the button control.
position
PdfPointThe position of the upper-left corner of the button.
size
PdfSizeThe size of the button.
Returns
Remarks
AddButton(string?, PdfRectangle)
Adds the new button control with specified unique name to the PdfPage.
public PdfButton AddButton(string? name, PdfRectangle boundingBox)
Parameters
name
stringThe unique name of the button control.
boundingBox
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the button.
Returns
Remarks
AddButton(string?, double, double, double, double)
Adds the new button control with specified unique name to the PdfPage.
public PdfButton AddButton(string? name, double left, double top, double width, double height)
Parameters
name
stringThe unique name of the button control.
left
doubleThe x-coordinate of the upper-left corner of the button.
top
doubleThe y-coordinate of the upper-left corner of the button.
width
doubleThe width of the button.
height
doubleThe height of the button.