Click or drag to resize

PushButtonWidgetCreate Method (PDFDoc, Rect, String)

Creates a new Push Button Widget annotation, in the specified document.

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static PushButtonWidget Create(
	PDFDoc doc,
	Rect pos,
	string field_name
)

Parameters

doc
Type: pdftron.PDFPDFDoc
The document to which the annotation is added.
pos
Type: pdftron.PDFRect
A rectangle specifying the annotation's bounds, specified in user space coordinates.
field_name
Type: SystemString
The name of the field for which to create a PushButton widget

Return Value

Type: PushButtonWidget
A newly created default Push Button Widget annotation.
Exceptions
ExceptionCondition
[!:PDFNetException] PDFNetException the PDFNet exception
See Also