Debenu Quick PDF logo

GetDestType

Annotations and hotspot links

Description

Returns the type of the specified destination.

Syntax

Delphi

function TDebenuPDFLibrary1511.GetDestType(DestID: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetDestType(DestID As Long) As Long

DLL

int DPLGetDestType(int InstanceID, int DestID)

Parameters

DestID The ID of the destination to analyse. A valid destination ID is returned by the GetOutlineDest function.

Return values

1 "XYZ" - the target page is positioned at the Left and Top properties of the destination, and the Zoom property specifies the zoom percentage
2 "Fit" - the entire page is zoomed to fit the window
3 "FitH" - the page is zoomed so that the entire width of the page is visible. The height of the page may be greater or less than the height of the window. The page is positioned vertically at the Top property of the destination.
4 "FitV" - the page is zoomed so that the entire height of the page can be seen. The width of the page may be greater or less than the width of the window. The page is positioned horizontally at the Left property of the destination.
5 "FitR" - the page is zoomed so that a certain rectangle on the page is visible. The Left, Top, Right and Bottom properties of the destination define the rectangle on the page.
6 "FitB" - the page is zoomed so that it's bounding box is visible
7 "FitBH" - the page is positioned vertically at the value of the Top property of the destination, and the page is zoomed so that the entire width of the page's bounding box is visible
8 "FitBV" - the page is positioned at the value of the Left property of the destination is visible, and the page is zoomed just enough to fit the entire height of the bounding box into the window

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport