ImageGear .NET v25.0 - Updated
AddWidget(ImGearPDFPage,ImGearPDFFixedRect,String) Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > PushButton Class > AddWidget Method : AddWidget(ImGearPDFPage,ImGearPDFFixedRect,String) Method
The page to place the push button widget.
The bounds of the push button widget.
The caption to place on the push button widget.
Creates and adds a widget to the field.
Syntax
'Declaration
 
Public Overloads Function AddWidget( _
   ByVal page As ImGearPDFPage, _
   ByVal rect As ImGearPDFFixedRect, _
   ByVal caption As String _
) As WidgetAnnotation
'Usage
 
Dim instance As PushButton
Dim page As ImGearPDFPage
Dim rect As ImGearPDFFixedRect
Dim caption As String
Dim value As WidgetAnnotation
 
value = instance.AddWidget(page, rect, caption)
public WidgetAnnotation AddWidget( 
   ImGearPDFPage page,
   ImGearPDFFixedRect rect,
   string caption
)
public: WidgetAnnotation* AddWidget( 
   ImGearPDFPage* page,
   ImGearPDFFixedRect* rect,
   string* caption
) 
public:
WidgetAnnotation^ AddWidget( 
   ImGearPDFPage^ page,
   ImGearPDFFixedRect^ rect,
   String^ caption
) 

Parameters

page
The page to place the push button widget.
rect
The bounds of the push button widget.
caption
The caption to place on the push button widget.

Return Value

The newly created widget that was added.
See Also

Reference

PushButton Class
PushButton Members
Overload List