FlowDocumentPageViewer.MinZoom プロパティ

定義

Zoom に使用できる最小の FlowDocumentPageViewer レベルを取得または設定します。

public:
 property double MinZoom { double get(); void set(double value); };
public double MinZoom { get; set; }
member this.MinZoom : double with get, set
Public Property MinZoom As Double

プロパティ値

Double

FlowDocumentPageViewer に使用できる最小ズーム レベル。パーセンテージとして解釈されます。 既定値は 80.0 (最小ズーム レベルである 80%) です。

次の例は、このプロパティの使用方法を示しています。

<FlowDocumentPageViewer
  MinZoom="50" MaxZoom="1000"
  Zoom="120" ZoomIncrement="5"
>
  <FlowDocument>
    <Paragraph>
      Flow content...
    </Paragraph>
  </FlowDocument>
</FlowDocumentPageViewer>
FlowDocumentPageViewer flowDocPageViewer = new FlowDocumentPageViewer();

// Set zoom between 50% and 1000%.
flowDocPageViewer.MinZoom = 50;
flowDocPageViewer.MaxZoom = 1000;
// Set the zoom increment to 5%.
flowDocPageViewer.ZoomIncrement = 5;
// Set the initial zoom to 120%.
flowDocPageViewer.Zoom = 120;

FlowDocument flowDoc = new FlowDocument(new Paragraph(new Run("Flow content...")));
flowDocPageViewer.Document = flowDoc;
Dim flowDocPageViewer As New FlowDocumentPageViewer()

' Set zoom between 50% and 1000%.
flowDocPageViewer.MinZoom = 50
flowDocPageViewer.MaxZoom = 1000
' Set the zoom increment to 5%.
flowDocPageViewer.ZoomIncrement = 5
' Set the initial zoom to 120%.
flowDocPageViewer.Zoom = 120

Dim flowDoc As New FlowDocument(New Paragraph(New Run("Flow content...")))
flowDocPageViewer.Document = flowDoc

注釈

既定 FlowDocumentPageViewer のユーザー インターフェイス (UI) には、レベルの調整に使用できるスライダーが Zoom 含まれています。 このプロパティは、スライダーの下限値を指定します。

依存プロパティ情報

識別子フィールド MinZoomProperty
に設定されたメタデータ プロパティ true なし

適用対象

こちらもご覧ください