Method GetIntentNames
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
GetIntentNames()
Gets the array of intent names that describe the intended uses of the graphics in this layer.
public string[]? GetIntentNames()
Returns
- string[]
An array of intent names that describe the intended uses of the graphics in this layer.
Remarks
The array typically contains View and/or Design, but may also include
second-class intent names. These names are custom and specific to a developer's
workflow. Each second-class name begins with a four-character prefix. These prefixes
are maintained in a public list at .
A layer with the View intent is intended for interactive use by document
consumers. A layer with the Design intent represents a document designer's
structural organization of artwork.
The return value can be null when the underlying low-level optional value is not
present in the PDF. In such cases, the default intent View should be assumed.
A new array instance is returned on each call.
Exceptions
- UnexpectedStructureException
Thrown when any value in the underlying PDF structure cannot be parsed due to an unexpected value type.