Click or drag to resize

PdfForms Class

Represents the PDF forms in doucument
Inheritance Hierarchy
System.Object
  Patagames.Pdf.Net.PdfForms

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public class PdfForms : IDisposable

The PdfForms type exposes the following members.

Constructors
 NameDescription
Public methodPdfForms Initializes a new instance of the PdfForms class.
Top
Properties
 NameDescription
Public propertyDocument Gets PDF Document associated with this PdfForms.
Public propertyFocusedText Gets the text in the widget that is currently processing the input queue.
Public propertyHandle Gets the Pdfium SDK handle that the forms is bound to
Public propertyInterForm Gets Interactive Forms object for current PDF document.
Public propertyIsDisposed Gets a value indicating whether the object has been disposed of.

Field Value

true if the control has been disposed of; otherwise, false.
Public propertySelectedText Gets the selected text in the widget that is currently processing the input queue.
Public propertySynchronizationContext Gets or sets the object used to marshal event-handler calls that are issued from JS engine.
Public propertySynchronizingObjectObsolete.
Gets or sets the object used to marshal event-handler calls that are issued from JS engine.
Top
Methods
 NameDescription
Public methodDispose() Release all resources used by PdfForms
Protected methodDispose(Boolean) Releases all resources used by the PdfImageObject.
Protected methodFinalize Finalize object
(Overrides Object.Finalize())
Public methodForceToKillFocus You can call this member function to force to kill the focus of the form field which got focus. It would kill the focus on the form field, save the value of form field if it's changed by user.
Protected methodOnAfterCheckedStatusChangeCallback This method invoked by SDK after checked statuses is changed.
Protected methodOnAfterFormImportDataCallback This method invoked by SDK after forms data is imported.
Protected methodOnAfterFormResetCallback This method invoked by SDK after forms is reseted.
Protected methodOnAfterSelectionChangeCallback This method invoked by SDK after field's selection is changed.
Protected methodOnAfterValueChangeCallback This method invoked by SDK after field is changed.
Protected methodOnBeforeFormImportDataCallback This method invoked by SDK before forms data is imported.
Protected methodOnBeforeFormResetCallback This method invoked by SDK before forms is reseted.
Protected methodOnBeforeSelectionChangeCallback This method invoked by SDK before field's selection is changed.
Protected methodOnBeforeValueChangeCallback This method invoked by SDK before field is changed.
Public methodRemoveHighlightColor Remove the form field highlight color in the document.
Public methodSelectText Select text in the widget that is currently processing the input queue.
Public methodSetHighlightColor Set the highlight color of specified or all the form fields in the document.
Public methodSetHighlightColorEx Set the highlight color of specified or all the form fields in the document.
Top
Events
 NameDescription
Public eventAfterCheckedStatusChange Occurs when the checked statuses for check boxes or radion buttons are changed.
Public eventAfterFormImportData Occurs when the ImportFromFdf(FdfDocument) or the FPDFInterForm_ImportFromFDF(IntPtr, IntPtr, Boolean) is calling.
Public eventAfterFormReset Occurs when the ResetForm() or the FPDFInterForm_ResetForm(IntPtr, Boolean) is calling.
Public eventAfterSelectionChange Occurs when the selected index for list box is changed.
Public eventAfterValueChange Occurs when the value of a text box or combo box is changed.
Public eventAppAlert pop up a dialog to show warning or hint.
Public eventAppBeep Causes the system to play a sound.
Public eventAppResponse Displays a dialog box containing a question and an entry field for the user to reply to the question.
Public eventBeforeFormImportData Occurs when the ImportFromFdf(FdfDocument) or the FPDFInterForm_ImportFromFDF(IntPtr, IntPtr, Boolean) is calling.
Public eventBeforeFormReset Occurs when the ResetForm() or FPDFInterForm_ResetForm(IntPtr, Boolean) is calling.
Public eventBeforeSelectionChange Alerts listeners when a selected index for a list box is about to change.
Public eventBeforeValueChange Alerts listeners when a text box or combo box value is about to change.
Public eventBrowseFile Show a file selection dialog, and return the selected file path.
Public eventDoGotoAction While processing this event pplication must be changes the view to a specified destination.
Public eventDoNamedAction This event will execute an named action.
Public eventDoURIAction This action resolves to a uniform resource identifier.
Public eventFieldChanged This event will be invoked to notify implementation when the value of any FormField on the document had been changed.
Public eventFocusChanged This event will be fired when a text field is getting or losing a focus.
Public eventGetDocumentPath Get the file path of the current document.
Public eventGotoPage Jump to a specified page.
Public eventInvalidate SDK will fire this event when the page need to be repainted.
Public eventLocalTime With this event SDK receives the current local time on the system.
Public eventOutputSelectedRect SDK fire this event when user is taking the mouse to select texts on a form field.
Public eventPrint Prints all or a specific number of pages of the document.
Public eventRelease Give implementation a chance to release any data after the forms is no longer used
Public eventSendMail Mails the data buffer as an attachment to all recipients, with or without user interaction.
Public eventSetCursor Application shoud use this event for sets the specified cursor for the entire application.
Public eventSubmitForm Send the form data to a specified URL.
Top
See Also