メインコンテンツへスキップ
Visual Components は、Windows 版 FRE で実装されています。
ScaleTypes 定数は、使用可能な拡大・縮小タイプを表します。これらは、ImageViewerZoomViewer、または 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