次の方法で共有


LocalReport.GetTotalPages メソッド (PageCountMode)

 

レポート内のソフト ページの総数と現在のページ数モードを示す PageCountMode 列挙値を返します。

名前空間:   Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

public override int GetTotalPages(
    out PageCountMode pageCountMode
)
public:
virtual int GetTotalPages(
    [OutAttribute] PageCountMode% pageCountMode
) override
override GetTotalPages : 
        pageCountMode:PageCountMode byref -> int
Public Overrides Function GetTotalPages (
    <OutAttribute> ByRef pageCountMode As PageCountMode
) As Integer

パラメーター

  • pageCountMode
    [out] ソフト ページの総数の計算に使用するページ カウント モードを示す PageCountMode 列挙値です。

戻り値

Type: System.Int32

レポート内のソフト ページの総数を含む integer 値。 ソフト ページの詳細については、「Understanding Rendering Behaviors」を参照してください。

解説

For more information, see the GetTotalPages method of the M:Microsoft.Reporting.WinForms.Report class.

When the ReprotViewer control is in print layout mode, pageCountMode is always T:Microsoft.Reporting.WinForms.PageCountMode.Actual.

参照

GetTotalPages オーバーロード
LocalReport クラス
Microsoft.Reporting.WinForms 名前空間

トップに戻る