PdfLogicalFormWidget
OfficeIMO.Pdf
AcroForm widget annotation entry in the logical page model.
Inheritance
- object
- PdfLogicalFormWidget
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 7 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 6
Accepted by parameters 1
Methods
public bool HasNormalAppearanceState(string state) #Returns true when the widget exposes a matching normal appearance state name.
Parameters
- state string
Returns
boolInherited Methods
Properties
public PdfFormField Field { get; } #Field represented by this widget annotation.
public PdfFormWidget SourceWidget { get; } #Underlying parsed widget annotation.
public string? FieldName { get; } #Fully qualified field name when a name can be read.
public string? FieldType { get; } #Field type name, for example Tx, Btn, Ch, or Sig, when present or inherited.
public string? Value { get; } #Simple field value formatted for wrapper display, when present.
public int? ObjectNumber { get; } #Indirect object number for the widget annotation, when known.
public double X1 { get; } #Left edge of the widget rectangle in page user-space units.
public double Y1 { get; } #Bottom edge of the widget rectangle in page user-space units.
public double X2 { get; } #Right edge of the widget rectangle in page user-space units.
public double Y2 { get; } #Top edge of the widget rectangle in page user-space units.
public double Width { get; } #Rectangle width in page user-space units.
public double Height { get; } #Rectangle height in page user-space units.
public string? AppearanceState { get; } #Current widget appearance state name from /AS, when present.
public int? Flags { get; } #Raw widget annotation flags from /F, when present.
public bool IsInvisible { get; } #True when the widget has the PDF annotation Invisible flag.
public bool IsPrint { get; } #True when the widget has the PDF annotation Print flag.
public bool IsNoZoom { get; } #True when the widget has the PDF annotation NoZoom flag.
public bool IsNoRotate { get; } #True when the widget has the PDF annotation NoRotate flag.
public bool IsNoView { get; } #True when the widget has the PDF annotation NoView flag.
public bool IsReadOnly { get; } #True when the widget has the PDF annotation ReadOnly flag.
public bool IsLocked { get; } #True when the widget has the PDF annotation Locked flag.
public bool IsToggleNoView { get; } #True when the widget has the PDF annotation ToggleNoView flag.
public bool IsLockedContents { get; } #True when the widget has the PDF annotation LockedContents flag.
public IReadOnlyList<string> NormalAppearanceStates { get; } #Normal appearance state names from /AP /N, when the widget exposes named appearance streams.
public int NormalAppearanceStateCount { get; } #Number of readable normal appearance states.
public bool HasNormalAppearanceStates { get; } #True when at least one normal appearance state was readable.