enum final Core · roukmoute/pdf 0.6.2

PDF\Graphics\OptionalContent\UsageEvent

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

Declared by PDF\Graphics\OptionalContent\UsageEvent · View the code ↗

from()

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

Declared by PDF\Graphics\OptionalContent\UsageEvent · View the code ↗

tryFrom()

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

Declared by PDF\Graphics\OptionalContent\UsageEvent · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Graphics\OptionalContent\UsageEvent
public readonly string $valuePDF\Graphics\OptionalContent\UsageEvent

Enum cases

  • View = "View"
  • Print = "Print"
  • Export = "Export"