PXC_DestType Enumeration

From PDF XChange PDF SDK
Revision as of 10:06, 8 May 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


Specifies the flags for the destination type.

Syntax

enum PXC_DestType
{
    Dest_XYZ    = 0,
    Dest_Fit    = 1,
    Dest_FitH   = 2,
    Dest_FitV   = 3,
    Dest_FitR   = 4,
    Dest_FitB   = 5,
    Dest_FitBH  = 6,
    Dest_FitBV  = 7,
    _Dest_Last_ = 8,
};

Constants

Dest_XYZ
Display the page with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom. A null value for any of the parameters left, top, or zoom specifies that the current value of that parameter shall be retained unchanged.
Dest_Fit
Display the page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, the smaller of the two will be used, centering the page within the window in the other dimension.
Dest_FitH
Display the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window. A null value for top specifies that the current value of that parameter shall be retained unchanged.
Dest_FitV
Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window. A null value for left specifies that the current value of that parameter shall be retained unchanged.
Dest_FitR
Display the page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, the smaller of the two will be used, centering the rectangle within the window in the other dimension.
Dest_FitB
Display the page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, the smaller of the two will be used, centering the bounding box within the window in the other dimension.
Dest_FitBH
Display the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window. A null value for top specifies that the current value of that parameter shall be retained unchanged.
Dest_FitBV
Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window. A null value for left specifies that the current value of that parameter shall be retained unchanged.
_Dest_Last_
The last item in the enumeration which is not used in the destination types.

See Also

PXC_Destination