enum final Core · pdftoolkit/pdf 0.12.4

PDF\Document\Metadata\MetadataResourceLocation
PDF20_AN003-ObjectMetadataLocations.pdf pp.4–10: location names identify the resource, not a parent wrapper.

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

attach()

Attach to a resource dictionary before passing it to the owning stream/object constructor.

Declared by PDF\Document\Metadata\MetadataResourceLocation · View the code ↗

cases()

public static function cases(): array

Declared by PDF\Document\Metadata\MetadataResourceLocation · View the code ↗

from()

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

Declared by PDF\Document\Metadata\MetadataResourceLocation · View the code ↗

sourcePage()

public function sourcePage(): int

Declared by PDF\Document\Metadata\MetadataResourceLocation · View the code ↗

tryFrom()

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

Declared by PDF\Document\Metadata\MetadataResourceLocation · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Document\Metadata\MetadataResourceLocation
public readonly string $valuePDF\Document\Metadata\MetadataResourceLocation

Enum cases

  • Document = "document"
  • Page = "page"
  • IccProfile = "icc-profile-stream"
  • Image = "image-xobject-stream"
  • Form = "form-xobject-stream"
  • Thread = "thread"
  • DocumentPart = "document-part"
  • EmbeddedFont = "font-program-stream"
  • TilingPattern = "tiling-pattern-stream"
  • Shading = "shading-dictionary"
  • MarkedContent = "named-property-list"
  • StructureElement = "structure-element"
  • FileSpecification = "file-specification"
  • EmbeddedFile = "embedded-file-stream"
  • Type3Font = "type3-font"
  • Annotation = "annotation"
  • OptionalContentGroup = "optional-content-group"
  • ThreeDArtwork = "3d-artwork-stream"