enum final Optional · pdftoolkit/pdf-to-html 0.1.2

PDF\Html\Forms\FieldType

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

Declared by PDF\Html\Forms\FieldType · View the code ↗

from()

public static function from(string|int $value): static

Declared by PDF\Html\Forms\FieldType · View the code ↗

tryFrom()

public static function tryFrom(string|int $value): ?static

Declared by PDF\Html\Forms\FieldType · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Html\Forms\FieldType
public readonly string $valuePDF\Html\Forms\FieldType

Enum cases

  • Text = "Tx"
  • Button = "Btn"
  • Choice = "Ch"
  • Signature = "Sig"