enum final Core · roukmoute/pdf 0.6.1

PDF\Document\Forms\FieldType

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

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

from()

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

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

tryFrom()

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

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

Properties

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

Enum cases

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