次の方法で共有


ReportSection.NeedsTotalPages プロパティ

Globals!TotalPages または Globals!OverallTotalPages の値をページのヘッダーまたはフッターで使用するかどうかと、表示される出力の生成時にこの値の計算が必要であることを示す値を取得します。

名前空間:  Microsoft.ReportingServices.OnDemandReportRendering
アセンブリ:  Microsoft.ReportingServices.ProcessingCore (Microsoft.ReportingServices.ProcessingCore.dll)

構文

'宣言
Public ReadOnly Property NeedsTotalPages As Boolean 
    Get
'使用
Dim instance As ReportSection 
Dim value As Boolean 

value = instance.NeedsTotalPages
public bool NeedsTotalPages { get; }
public:
property bool NeedsTotalPages {
    bool get ();
}
member NeedsTotalPages : bool
function get NeedsTotalPages () : boolean

プロパティ値

型: System.Boolean
Boolean 値です。

説明

Globals!OverallTotalPages の値はレポート全体の合計ページ数です。

Globals!TotalPages の値は、PageBreak を使用するレポート内のセクションの合計ページ数です。

関連項目

参照

ReportSection クラス

Microsoft.ReportingServices.OnDemandReportRendering 名前空間