Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfFormFieldValue

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Represents one or more values assigned to an AcroForm field.

Inheritance

  • object
  • PdfFormFieldValue

Usage

Explore 8 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.

Accepted by parameters 4

Methods

public static PdfFormFieldValue From(string value) #

Creates a scalar field value. Use an empty string to clear a simple text value.

Parameters

value string required
FromValues 2 overloads
public static PdfFormFieldValue FromValues(params string[] values) #

Creates a field value containing one or more entries, primarily for simple multi-select choice fields.

Parameters

values string[] required
public static PdfFormFieldValue FromValues(IEnumerable<string> values) #

Creates a field value containing one or more entries, primarily for simple multi-select choice fields.

Parameters

values System.Collections.Generic.IEnumerable<string> required
public static PdfFormFieldValue op_Implicit(string value) #

Converts a string into a scalar form field value.

Parameters

value string required

Properties

public IReadOnlyList<string> Values { get; } #

Values to store in the form field. Multiple values are used for simple multi-select choice fields.

public bool IsMultiple { get; } #

True when the field value contains more than one item.