ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / Form Class / CreatePushButton Method / CreatePushButton(String,PushButtonWidgetAnnotation,String) Method
The full name of the field to add, including partial names.
The push button widget containing the page and the location to insert the field.
The text label placed inside the PushButton on creation.




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

    Parameters

    fullName
    The full name of the field to add, including partial names.
    widget
    The push button widget containing the page and the location to insert the field.
    caption
    The text label placed inside the PushButton on creation.

    Return Value

    A PushButton.
    See Also