ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / Form Class / CreatePushButton Method / CreatePushButton(String,ImGearPDFPage,ImGearPDFFixedRect,String) Method
The full name of the field to add, including partial names.
The page on which the field should appear.
The bounding box for the field.
The text label placed inside the PushButton on creation.




In This Topic
    CreatePushButton(String,ImGearPDFPage,ImGearPDFFixedRect,String) Method
    In This Topic
    Creates a new PushButton in the PDF Form.
    Syntax
    'Declaration
     
    Public Overloads Function CreatePushButton( _
       ByVal fullName As String, _
       ByVal page As ImGearPDFPage, _
       ByVal rect As ImGearPDFFixedRect, _
       ByVal caption As String _
    ) As PushButton
    'Usage
     
    Dim instance As Form
    Dim fullName As String
    Dim page As ImGearPDFPage
    Dim rect As ImGearPDFFixedRect
    Dim caption As String
    Dim value As PushButton
     
    value = instance.CreatePushButton(fullName, page, rect, caption)
    public PushButton CreatePushButton( 
       string fullName,
       ImGearPDFPage page,
       ImGearPDFFixedRect rect,
       string caption
    )
    public: PushButton* CreatePushButton( 
       string* fullName,
       ImGearPDFPage* page,
       ImGearPDFFixedRect* rect,
       string* caption
    ) 
    public:
    PushButton^ CreatePushButton( 
       String^ fullName,
       ImGearPDFPage^ page,
       ImGearPDFFixedRect^ rect,
       String^ caption
    ) 

    Parameters

    fullName
    The full name of the field to add, including partial names.
    page
    The page on which the field should appear.
    rect
    The bounding box for the field.
    caption
    The text label placed inside the PushButton on creation.

    Return Value

    A PushButton.
    See Also