ScaleTypes

The ScaleTypes constants are used to denote possible scale types. They can be used as the value of the ViewScale property of the ImageViewer, ZoomViewer, or TextEditor object.

module ScaleTypes
{
 const int ST_FitToWidth = -1;
 const int ST_FitToHeight = -2;
 const int ST_BestFit = -3;
 const int ST_PixelToPixel = -4;
}
    

Elements

Flag name Description
ST_FitToWidth Fits a page to width.
ST_FitToHeight Fits a page to height. This constant is not available for Zoom Viewer.
ST_BestFit Automatically selects the best fit. This constant is not available for Zoom Viewer.
ST_PixelToPixel Shows an image in the pixel-to-pixel mode. This constant is only available for Zoom Viewer.

Used in

IImageViewer::ViewScale

IZoomViewer::ViewScale

ITextEditor::ViewScale

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.