# PdfLogicalFormWidget

AcroForm widget annotation entry in the logical page model.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfLogicalMediaAnnotations.cs:292](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L292)

**Implements**

`IPdfLogicalElement`

**Modifiers**

sealed

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

- Method [PdfDocumentReadResult.GetFormWidgets](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getformwidgets-string)
- Property [PdfDocumentReadResult.FormWidgets](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-formwidgets)
- Property [PdfDocumentReadResult.FormWidgetsByFieldName](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-formwidgetsbyfieldname)
- Property [PdfDocumentReadResult.FormWidgetsByPageNumber](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-formwidgetsbypagenumber)
- Property [PdfLogicalPage.FormWidgets](/api/pdf/officeimo-pdf-pdflogicalpage/#property-formwidgets)
- Property [PdfLogicalSection.FormWidgets](/api/pdf/officeimo-pdf-pdflogicalsection/#property-formwidgets)

### Accepted by parameters 1

- Method [PdfDocumentReadResult.GetOwningSection](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getowningsection-officeimo-pdf-pdflogicalformwidget) parameter `formWidget`

Filter members 

Show inherited

## Methods

`public bool HasNormalAppearanceState(string state)` [#](#method-hasnormalappearancestate-string)

[PdfLogicalMediaAnnotations.cs:292](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L292)

Returns true when the widget exposes a matching normal appearance state name.

Parameters

**state string required**

Returns

`bool`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int PageNumber { get; }` [#](#property-pagenumber)

[PdfLogicalMediaAnnotations.cs:204](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L204)

One-based source page number.

`public PdfLogicalElementKind Kind { get; }` [#](#property-kind)

[PdfLogicalMediaAnnotations.cs:207](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L207)

Element kind.

`public PdfFormField Field { get; }` [#](#property-field)

[PdfLogicalMediaAnnotations.cs:210](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L210)

Field represented by this widget annotation.

`public PdfFormWidget SourceWidget { get; }` [#](#property-sourcewidget)

[PdfLogicalMediaAnnotations.cs:213](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L213)

Underlying parsed widget annotation.

`public string? FieldName { get; }` [#](#property-fieldname)

[PdfLogicalMediaAnnotations.cs:216](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L216)

Fully qualified field name when a name can be read.

`public string? FieldType { get; }` [#](#property-fieldtype)

[PdfLogicalMediaAnnotations.cs:219](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L219)

Field type name, for example Tx, Btn, Ch, or Sig, when present or inherited.

`public string? Value { get; }` [#](#property-value)

[PdfLogicalMediaAnnotations.cs:222](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L222)

Simple field value formatted for wrapper display, when present.

`public int? ObjectNumber { get; }` [#](#property-objectnumber)

[PdfLogicalMediaAnnotations.cs:225](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L225)

Indirect object number for the widget annotation, when known.

`public double X1 { get; }` [#](#property-x1)

[PdfLogicalMediaAnnotations.cs:228](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L228)

Left edge of the widget rectangle in page user-space units.

`public double Y1 { get; }` [#](#property-y1)

[PdfLogicalMediaAnnotations.cs:231](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L231)

Bottom edge of the widget rectangle in page user-space units.

`public double X2 { get; }` [#](#property-x2)

[PdfLogicalMediaAnnotations.cs:234](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L234)

Right edge of the widget rectangle in page user-space units.

`public double Y2 { get; }` [#](#property-y2)

[PdfLogicalMediaAnnotations.cs:237](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L237)

Top edge of the widget rectangle in page user-space units.

`public double Width { get; }` [#](#property-width)

[PdfLogicalMediaAnnotations.cs:240](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L240)

Rectangle width in page user-space units.

`public double Height { get; }` [#](#property-height)

[PdfLogicalMediaAnnotations.cs:243](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L243)

Rectangle height in page user-space units.

`public string? AppearanceState { get; }` [#](#property-appearancestate)

[PdfLogicalMediaAnnotations.cs:246](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L246)

Current widget appearance state name from /AS, when present.

`public int? Flags { get; }` [#](#property-flags)

[PdfLogicalMediaAnnotations.cs:249](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L249)

Raw widget annotation flags from /F, when present.

`public bool IsInvisible { get; }` [#](#property-isinvisible)

[PdfLogicalMediaAnnotations.cs:252](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L252)

True when the widget has the PDF annotation Invisible flag.

`public bool IsHidden { get; }` [#](#property-ishidden)

[PdfLogicalMediaAnnotations.cs:255](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L255)

True when the widget has the PDF annotation Hidden flag.

`public bool IsPrint { get; }` [#](#property-isprint)

[PdfLogicalMediaAnnotations.cs:258](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L258)

True when the widget has the PDF annotation Print flag.

`public bool IsNoZoom { get; }` [#](#property-isnozoom)

[PdfLogicalMediaAnnotations.cs:261](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L261)

True when the widget has the PDF annotation NoZoom flag.

`public bool IsNoRotate { get; }` [#](#property-isnorotate)

[PdfLogicalMediaAnnotations.cs:264](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L264)

True when the widget has the PDF annotation NoRotate flag.

`public bool IsNoView { get; }` [#](#property-isnoview)

[PdfLogicalMediaAnnotations.cs:267](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L267)

True when the widget has the PDF annotation NoView flag.

`public bool IsReadOnly { get; }` [#](#property-isreadonly)

[PdfLogicalMediaAnnotations.cs:270](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L270)

True when the widget has the PDF annotation ReadOnly flag.

`public bool IsLocked { get; }` [#](#property-islocked)

[PdfLogicalMediaAnnotations.cs:273](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L273)

True when the widget has the PDF annotation Locked flag.

`public bool IsToggleNoView { get; }` [#](#property-istogglenoview)

[PdfLogicalMediaAnnotations.cs:276](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L276)

True when the widget has the PDF annotation ToggleNoView flag.

`public bool IsLockedContents { get; }` [#](#property-islockedcontents)

[PdfLogicalMediaAnnotations.cs:279](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L279)

True when the widget has the PDF annotation LockedContents flag.

`public IReadOnlyList<string> NormalAppearanceStates { get; }` [#](#property-normalappearancestates)

[PdfLogicalMediaAnnotations.cs:282](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L282)

Normal appearance state names from /AP /N, when the widget exposes named appearance streams.

`public int NormalAppearanceStateCount { get; }` [#](#property-normalappearancestatecount)

[PdfLogicalMediaAnnotations.cs:285](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L285)

Number of readable normal appearance states.

`public bool HasNormalAppearanceStates { get; }` [#](#property-hasnormalappearancestates)

[PdfLogicalMediaAnnotations.cs:288](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfLogicalMediaAnnotations.cs#L288)

True when at least one normal appearance state was readable.

<!-- PowerForge markdown artifact sha256:7D474B487EE445C7E4CF00D7930806B1381134402618A62ED54991D04515E374 -->
