Creates a button in PDF form
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public PdfFormButton AddButton( PdfPage pdfPage, RectangleF box, string text, PdfFont pdfFont ) |
| Visual Basic |
|---|
Public Function AddButton ( pdfPage As PdfPage, box As RectangleF, text As String, pdfFont As PdfFont ) As PdfFormButton |
| Visual C++ |
|---|
public: PdfFormButton^ AddButton( PdfPage^ pdfPage, RectangleF box, String^ text, PdfFont^ pdfFont ) |
Parameters
- pdfPage
- Type: EvoPdf..::..PdfPage
The PDF page in which to place the button
- box
- Type: System.Drawing..::..RectangleF
The button control bounding box
- text
- Type: System..::..String
The button text
- pdfFont
- Type: EvoPdf..::..PdfFont
The button text font
Return Value
Type: PdfFormButtonThe created button field