PrintDocument for WinForms
GetNextPage(Int32,Int32) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > OutputRange クラス > GetNextPage メソッド : GetNextPage(Int32,Int32) メソッド
The current page number.
A cookie used to avoid infinite loops in cases where the same page number appears in several ranges. Set this value to 0 before the first call to this method.
Returns the page number in the range following the specified one, or -1 if the specified number was the last one.
シンタックス
'宣言
 
Public Overloads Function GetNextPage( _
   ByVal pageNumber As System.Integer, _
   ByRef cookie As System.Integer _
) As System.Integer
'使用法
 
Dim instance As OutputRange
Dim pageNumber As System.Integer
Dim cookie As System.Integer
Dim value As System.Integer
 
value = instance.GetNextPage(pageNumber, cookie)
public System.int GetNextPage( 
   System.int pageNumber,
   ref System.int cookie
)

パラメータ

pageNumber
The current page number.
cookie
A cookie used to avoid infinite loops in cases where the same page number appears in several ranges. Set this value to 0 before the first call to this method.

戻り値の型

The next page number or -1 if there's none.
参照

OutputRange クラス
OutputRange メンバ
オーバーロード一覧