跳轉到主要內容
Visual Components 是在 Windows 版 FRE 中實作的。
ScaleTypes 常數用於表示可用的縮放類型。它們可作為 ImageViewerZoomViewerTextEditor 物件之 ViewScale 屬性的值。
module ScaleTypes
{
 const int ST_FitToWidth = -1;
 const int ST_FitToHeight = -2;
 const int ST_BestFit = -3;
 const int ST_PixelToPixel = -4;
}

元素

旗標名稱說明
ST_FitToWidth將頁面縮放至符合寬度。
ST_FitToHeight將頁面縮放至符合高度。此常數不適用於 Zoom Viewer。
ST_BestFit自動選擇最合適的縮放方式。此常數不適用於 Zoom Viewer。
ST_PixelToPixel以像素對像素模式顯示影像。此常數僅適用於 Zoom Viewer。

用於

IImageViewer::ViewScale IZoomViewer::ViewScale ITextEditor::ViewScale