EditingFields
Coordinates editing of interactive PDF form widgets by creating temporary editors and applying their values to the document.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.PdfViewer.dll
Syntax:
public class EditingFields
Inheritance: objectEditingFields
Constructors
Initializes the form-field editor helper for a PDF viewer.
public EditingFields(RadPdfViewerElement pdfViewer)
The viewer whose document and page elements are edited.
Methods
Applies changed editor values to the form field, removes the temporary editor, and refreshes the edited page.
public void FinishEditingWidget()
Marks the widget's form field as modified and refreshes its page.
protected void MarkFieldAsChanged(Widget annotation, RadFixedPage page)
The widget whose field changed.
pageRadFixedPageThe page containing the widget.
Processes a form widget, opening an editor for text or choice fields and applying radio-button or checkbox changes. Passing no annotation while the pointer is over a page finishes the active edit.
public void ProcessAnnotation(Annotation annot, RadFixedPage page, RadElement elementAtPoint, bool fromMouse = false, Point point = default)
The annotation to process, or null to finish editing when over a page.
pageRadFixedPageThe page containing the annotation.
elementAtPointRadElementThe visual element under the pointer; processing occurs only for a PDF page element.
fromMousebooltrue when processing a mouse interaction, which also updates the viewer's current annotation.
pointPointThe pointer position forwarded to a newly created editor when processing a mouse interaction.