enum final Core · roukmoute/pdf 0.6.1

PDF\Syntax\FileStructure\PdfVersion
Supported output declarations (ISO_32000-2_sponsored_EC3.pdf, 7.5.2, PDF pp. 69–70).

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

Declared by PDF\Syntax\FileStructure\PdfVersion · View the code ↗

from()

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

Declared by PDF\Syntax\FileStructure\PdfVersion · View the code ↗

tryFrom()

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

Declared by PDF\Syntax\FileStructure\PdfVersion · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Syntax\FileStructure\PdfVersion
public readonly string $valuePDF\Syntax\FileStructure\PdfVersion

Enum cases

  • PDF10 = "1.0"
  • PDF11 = "1.1"
  • PDF12 = "1.2"
  • PDF13 = "1.3"
  • PDF14 = "1.4"
  • PDF15 = "1.5"
  • PDF16 = "1.6"
  • PDF17 = "1.7"
  • PDF20 = "2.0"