ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFAction Class / GetDestination Method




In This Topic
    GetDestination Method
    In This Topic
    Gets the action's destination view.
    Syntax
    'Declaration
     
    Public Function GetDestination() As ImGearPDFDestination
    'Usage
     
    Dim instance As ImGearPDFAction
    Dim value As ImGearPDFDestination
     
    value = instance.GetDestination()
    public ImGearPDFDestination GetDestination()
    public: ImGearPDFDestination* GetDestination(); 
    public:
    ImGearPDFDestination^ GetDestination(); 

    Return Value

    The action's destination, which may be either an explicit or named (basic string or name object). Use the ImGearPDFDestination.Resolve on this returned value to obtain an explicit destination.
    Remarks
    This only works for actions that contain a view destination - that is, actions whose type is GoTo. For named destinations, this method may return a basic string or name object. See Section 8.2.1 in the PDF Reference for more information on named destinations.

    Since this method may not return an explicit destination, use the ImGearPDFDestination.Resolve on the returned value to obtain an explicit destination.

    See Also