API Reference
Class
PdfAcroFormEditSession
Transactional existing-document AcroForm edit commands.
Inheritance
- Object
- PdfAcroFormEditSession
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- 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
- Method PdfDocumentForms.Edit
Constructors
public PdfAcroFormEditSession() #Methods
public PdfAcroFormEditSession Create(PdfFormFieldCreateOptions options) #Returns:
PdfAcroFormEditSessionCreates a text, checkbox, choice, or empty signature field.
Parameters
- options OfficeIMO.Pdf.PdfFormFieldCreateOptions
public PdfAcroFormEditSession Flatten(params String[] fieldNames) #Returns:
PdfAcroFormEditSessionMarks exact fields for visual flattening after tree edits.
Parameters
- fieldNames System.String[]
public PdfAcroFormEditSession Move(String name, Int32 pageNumber, Double x, Double y, Double width, Double height) #Returns:
PdfAcroFormEditSessionMoves a single-widget field to a page rectangle.
Parameters
- name System.String
- pageNumber System.Int32
- x System.Double
- y System.Double
- width System.Double
- height System.Double
public PdfAcroFormEditSession PlaceSignatureField(String name, Int32 pageNumber, Double x, Double y, Double width, Double height) #Returns:
PdfAcroFormEditSessionPlaces an empty signature field owned by the signature engine.
Parameters
- name System.String
- pageNumber System.Int32
- x System.Double
- y System.Double
- width System.Double
- height System.Double
public PdfAcroFormEditSession Remove(String name) #Returns:
PdfAcroFormEditSessionRemoves one field subtree and its widgets.
Parameters
- name System.String
public PdfAcroFormEditSession Rename(String name, String newName) #Returns:
PdfAcroFormEditSessionRenames one fully qualified field.
Parameters
- name System.String
- newName System.String
public PdfAcroFormEditSession SetCalculationOrder(params String[] fieldNames) #Returns:
PdfAcroFormEditSessionReplaces AcroForm calculation order with exact named fields.
Parameters
- fieldNames System.String[]
public PdfAcroFormEditSession SetDefaultValue(String name, String value) #Returns:
PdfAcroFormEditSessionSets or clears a field default value.
Parameters
- name System.String
- value System.String
public PdfAcroFormEditSession SetFlags(String name, Int32 flags) #Returns:
PdfAcroFormEditSessionReplaces raw field flags.
Parameters
- name System.String
- flags System.Int32
public PdfAcroFormEditSession SetTabOrder(Int32 pageNumber, PdfPageTabOrder order) #Returns:
PdfAcroFormEditSessionSets a page /Tabs order hint.
Parameters
- pageNumber System.Int32
- order OfficeIMO.Pdf.PdfPageTabOrder