PushButtonWidgetCreate Method (PDFDoc, Rect) |
Creates a new PushButton 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
)
Public Shared Function Create (
doc As PDFDoc,
pos As Rect
) As PushButtonWidget
public:
static PushButtonWidget^ Create(
[InAttribute] PDFDoc^ doc,
[InAttribute] Rect^ pos
)
pdftron.PDF.Annots.PushButtonWidget.Create = function(doc, pos);
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.
Return Value
Type:
PushButtonWidget A newly created default Push Button Widget annotation.
Exceptions Exception | Condition |
---|
[!:PDFNetException] | PDFNetException the PDFNet exception |
See Also