NamedDestination

NamedDestination

Overview

NamedDestination is a class in Aspose.PDF FOSS for Java. Inherits from: IAppointment.

Represents a reference to a named destination in a PDF document (ISO 32000-1:2008, §12.3.2.3).

This class provides 8 methods for working with NamedDestination objects in Java programs. Available methods include: NamedDestination, equals, getDocument, getName, hashCode, resolve, toCos, toString. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: document, name.

Properties

NameTypeAccessDescription
nameStringReadReturns the name this destination references.
documentDocumentReadReturns the document this destination is associated with.

Methods

SignatureDescription
NamedDestination(document: Document, name: String)Creates a named destination reference.
getName() → StringReturns the name this destination references.
getDocument() → DocumentReturns the document this destination is associated with.
resolve() → ExplicitDestinationResolves the name to an explicit destination via the document’s name tree.
toCos() → PdfBaseSerializes this NamedDestination as a PDF byte string for inclusion in
an action or outline-item dictionary.
toString() → String
equals(o: Object) → boolean
hashCode() → int

See Also

 English