PXV_ZoomMode Enumeration

From Tracker Software PDF SDK
Revision as of 09:00, 4 September 2015 by Will (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Specifies the zoom mode for page viewing.

Syntax

enum PXV_ZoomMode
{
    PXV_ZoomMode_Percent    = 0,
    PXV_ZoomMode_Actual     = 1,
    PXV_ZoomMode_FitWidth   = 2,
    PXV_ZoomMode_FitHeight  = 3,
    PXV_ZoomMode_FitPage    = 4,
    PXV_ZoomMode_FitVisible = 5,
};

Constants

PXV_ZoomMode_Percent
Indicates that simple zoom level, in percents, is used.
PXV_ZoomMode_Actual
Indicates that 100% zoom level is used.
PXV_ZoomMode_FitWidth
Indicates mode that fits the page width to the current width of the viewing window.
PXV_ZoomMode_FitHeight
Indicates mode that fits the page height to the current height of the viewing window.
PXV_ZoomMode_FitPage
Indicates mode that fits the page to the current size of the viewing window.
PXV_ZoomMode_FitVisible
Indicates mode that fits the width of bounding box, of all visible content on the page, to the current width of the viewing window.

See Also

IPXV_PagesView::SetZoom, IPXV_PagesLayoutManager::GetNextZoom, IPXV_PagesLayoutManager::GetPrevZoom, IPXV_PagesLayoutManager::SetZoom, IPXV_PagesLayoutManager::ZoomMode, IPXV_Control::SetZoom, IPXV_Control::ZoomMode