Visual Components 是在 Windows 版 FRE 中實作的。
ScaleTypes 常數用於表示可用的縮放類型。它們可作為 ImageViewer、ZoomViewer 或 TextEditor 物件之 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