API Reference

Class

PdfFormFieldValue

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Represents one or more values assigned to an AcroForm field.

Inheritance

  • Object
  • PdfFormFieldValue

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public static PdfFormFieldValue From(String value) #
Returns: PdfFormFieldValue

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

Parameters

value System.String requiredposition: 0
FromValues 2 overloads
public static PdfFormFieldValue FromValues(params String[] values) #
Returns: PdfFormFieldValue

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

Parameters

values System.String[] requiredposition: 0
public static PdfFormFieldValue FromValues(IEnumerable<String> values) #
Returns: PdfFormFieldValue

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

Parameters

values System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
public static PdfFormFieldValue op_Implicit(String value) #
Returns: PdfFormFieldValue

Converts a string into a scalar form field value.

Parameters

value System.String requiredposition: 0

Properties

public IReadOnlyList<String> Values { get; } #

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

public Boolean IsMultiple { get; } #

True when the field value contains more than one item.