enum final Core · pdftoolkit/pdf 0.12.4
PDF\Document\Metadata\MetadataResourceLocationPDF20_AN003-ObjectMetadataLocations.pdf pp.4–10: location names identify the resource, not a parent wrapper.Héritage et contrats
Interfaces : BackedEnum, UnitEnum
Méthodes déclarées
attach()
public function attach(PDF\Syntax\Object\DictionaryType $resource, PDF\Document\Metadata\MetadataStream $metadata): PDF\Syntax\Object\DictionaryTypeAttach to a resource dictionary before passing it to the owning stream/object constructor.cases()
public static function cases(): arrayfrom()
public static function from(string|int $value): staticsourcePage()
public function sourcePage(): inttryFrom()
public static function tryFrom(string|int $value): ?staticPropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly string $name | PDF\Document\Metadata\MetadataResourceLocation |
public readonly string $value | PDF\Document\Metadata\MetadataResourceLocation |
Cas de l’enum
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"