Click or drag to resize
Pdf Library for .NET

PdfFormFieldWidget Class

A single widget (visual placement) of a form field.
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalPdfFormFieldWidget

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public class PdfFormFieldWidget

The PdfFormFieldWidget type exposes the following members.

Properties
 NameDescription
Public propertyDisplayPageGets the zero-based index of the page the widget is on, or -1.
Public propertyDisplayRectangleGets the widget rectangle on its page (in PDF points).
Top
Example
PdfFormManager manager = new PdfFormManager();
manager.Load("form.pdf");
PdfFormFieldWidget widget = manager.Fields["signature"].Widgets[0];
SelectPdf.Universal.Drawing.RectangleF rect = widget.DisplayRectangle;
int page = widget.DisplayPage;
See Also