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
positionPdfPointThe position of the upper-left corner of the button.
sizePdfSizeThe 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
boundingBoxPdfRectangleThe 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
leftdoubleThe x-coordinate of the upper-left corner of the button.
topdoubleThe y-coordinate of the upper-left corner of the button.
widthdoubleThe width of the button.
heightdoubleThe 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
namestringThe unique name of the button control.
positionPdfPointThe position of the upper-left corner of the button.
sizePdfSizeThe 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
namestringThe unique name of the button control.
boundingBoxPdfRectangleThe 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
namestringThe unique name of the button control.
leftdoubleThe x-coordinate of the upper-left corner of the button.
topdoubleThe y-coordinate of the upper-left corner of the button.
widthdoubleThe width of the button.
heightdoubleThe height of the button.