PdfAcroFormEditSession
OfficeIMO.Pdf
Transactional existing-document AcroForm edit commands.
Inheritance
- object
- PdfAcroFormEditSession
Remarks
Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.
Usage
Explore 11 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 10
- Method PdfAcroFormEditSession.Create
- Method PdfAcroFormEditSession.Flatten
- Method PdfAcroFormEditSession.Move
- Method PdfAcroFormEditSession.PlaceSignatureField
- Method PdfAcroFormEditSession.Remove
- Method PdfAcroFormEditSession.Rename
- Method PdfAcroFormEditSession.SetCalculationOrder
- Method PdfAcroFormEditSession.SetDefaultValue
- Method PdfAcroFormEditSession.SetFlags
- Method PdfAcroFormEditSession.SetTabOrder
Accepted by parameters 1
- Method PdfDocumentForms.Edit
Constructors
public PdfAcroFormEditSession() #Creates a standalone edit session. Documents normally create sessions through PdfDocumentForms.Edit.
Methods
public PdfAcroFormEditSession Create(PdfFormFieldCreateOptions options) #Creates a text, checkbox, choice, radio-button, push-button, or empty signature field.
Parameters
- options OfficeIMO.Pdf.PdfFormFieldCreateOptions
Returns
PdfAcroFormEditSessionpublic PdfAcroFormEditSession Flatten(params string[] fieldNames) #Marks exact fields for visual flattening after tree edits.
Parameters
- fieldNames string[]
Returns
PdfAcroFormEditSessionpublic PdfAcroFormEditSession Move(string name, int pageNumber, double x, double y, double width, double height) #Moves a single-widget field to a page rectangle.
Parameters
- name string
- pageNumber int
- x double
- y double
- width double
- height double
Returns
PdfAcroFormEditSessionpublic PdfAcroFormEditSession PlaceSignatureField(string name, int pageNumber, double x, double y, double width, double height) #Places an empty signature field owned by the signature engine.
Parameters
- name string
- pageNumber int
- x double
- y double
- width double
- height double
Returns
PdfAcroFormEditSessionpublic PdfAcroFormEditSession Remove(string name) #Removes one field subtree and its widgets.
Parameters
- name string
Returns
PdfAcroFormEditSessionpublic PdfAcroFormEditSession Rename(string name, string newName) #Renames one fully qualified field.
Parameters
- name string
- newName string
Returns
PdfAcroFormEditSessionpublic PdfAcroFormEditSession SetCalculationOrder(params string[] fieldNames) #Replaces AcroForm calculation order with exact named fields.
Parameters
- fieldNames string[]
Returns
PdfAcroFormEditSessionpublic PdfAcroFormEditSession SetDefaultValue(string name, string? value) #Sets or clears a field default value.
Parameters
- name string
- value string?
Returns
PdfAcroFormEditSessionpublic PdfAcroFormEditSession SetFlags(string name, int flags) #Replaces raw field flags.
Parameters
- name string
- flags int
Returns
PdfAcroFormEditSessionpublic PdfAcroFormEditSession SetTabOrder(int pageNumber, PdfPageTabOrder order) #Sets a page /Tabs order hint.
Parameters
- pageNumber int
- order OfficeIMO.Pdf.PdfPageTabOrder
Returns
PdfAcroFormEditSession