# PdfFormFieldCreateOptions

Creates an AcroForm field and its widget or widgets on an existing page.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfAcroFormEditModels.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L35)

**Modifiers**

sealed

Creates an AcroForm field and its widget or widgets on an existing page.

## Inheritance

- object
- PdfFormFieldCreateOptions

## 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 2 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 1

- Method [PdfStaticFormFieldProposal.ToCreateOptions](/api/pdf/officeimo-pdf-pdfstaticformfieldproposal/#method-tocreateoptions)

### Accepted by parameters 1

- Method [PdfAcroFormEditSession.Create](/api/pdf/officeimo-pdf-pdfacroformeditsession/#method-create-officeimo-pdf-pdfformfieldcreateoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public PdfFormFieldCreateOptions()` [#](#constructor-ctor)

[PdfAcroFormEditModels.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L35)

## 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 string Name { get; set; }` [#](#property-name)

[PdfAcroFormEditModels.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L35)

Unique fully qualified field name.

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

[PdfAcroFormEditModels.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L37)

Field kind.

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

[PdfAcroFormEditModels.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L39)

One-based page number.

`public double X { get; set; }` [#](#property-x)

[PdfAcroFormEditModels.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L41)

Widget left coordinate.

`public double Y { get; set; }` [#](#property-y)

[PdfAcroFormEditModels.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L43)

Widget bottom coordinate.

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

[PdfAcroFormEditModels.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L45)

Widget width.

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

[PdfAcroFormEditModels.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L47)

Widget height.

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

[PdfAcroFormEditModels.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L49)

Initial scalar value.

`public string? DefaultValue { get; set; }` [#](#property-defaultvalue)

[PdfAcroFormEditModels.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L51)

Optional default value.

`public int FieldFlags { get; set; }` [#](#property-fieldflags)

[PdfAcroFormEditModels.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L53)

Raw field /Ff flags.

`public int WidgetFlags { get; set; }` [#](#property-widgetflags)

[PdfAcroFormEditModels.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L55)

Raw widget annotation /F flags. Default enables printing.

`public IReadOnlyList<string> ChoiceOptions { get; set; }` [#](#property-choiceoptions)

[PdfAcroFormEditModels.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L57)

Choice options for choice fields.

`public string CheckedValueName { get; set; }` [#](#property-checkedvaluename)

[PdfAcroFormEditModels.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L59)

Export name used for a checked checkbox.

`public bool IsComboBox { get; set; }` [#](#property-iscombobox)

[PdfAcroFormEditModels.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L61)

True to create a combo box; false creates a list box. Applies only to choice fields and defaults to false for compatibility.

`public string Caption { get; set; }` [#](#property-caption)

[PdfAcroFormEditModels.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L63)

Visible push-button caption. Defaults to Button.

`public string? JavaScript { get; set; }` [#](#property-javascript)

[PdfAcroFormEditModels.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L65)

Optional JavaScript source attached to widget activation. Push buttons use /A; other fields use /AA /U.

`public double FontSize { get; set; }` [#](#property-fontsize)

[PdfAcroFormEditModels.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L67)

Font size used for generated text, choice, and push-button appearances.

`public double RadioButtonSize { get; set; }` [#](#property-radiobuttonsize)

[PdfAcroFormEditModels.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L69)

Radio widget size in page user-space units. Applies only to radio-button groups.

`public double RadioButtonGap { get; set; }` [#](#property-radiobuttongap)

[PdfAcroFormEditModels.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L71)

Vertical gap between radio widgets in page user-space units.

`public PdfFormFieldStyle? Style { get; set; }` [#](#property-style)

[PdfAcroFormEditModels.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAcroFormEditModels.cs#L73)

Visual and semantic field style used by generated widget appearances.

<!-- PowerForge markdown artifact sha256:F30D2CC0F955A688FAA78C0AD8684FFDF1E83CD61F3637DF8702EAF44DE42863 -->
