DocumentViewerBase.PageCount プロパティ

定義

現在の Document内のページの合計数を取得します。

public:
 property int PageCount { int get(); };
public int PageCount { get; }
member this.PageCount : int
Public ReadOnly Property PageCount As Integer

プロパティ値

現在の文書内のページ数。現在読み込まれているドキュメントがない場合は 0

このプロパティには既定値はありません。

注釈

コンテンツがページ分割されると、この値が更新されます。 フロー コンテンツには固定ページの概念がないため、ビューアーのサイズを変更したり、表示されているコンテンツを変更したりすると、このプロパティの値が変更される可能性があります。

依存関係プロパティ情報

品目 Value
識別子フィールド PageCountProperty
に設定されたメタデータ プロパティ true None

適用対象