Langue

Report.SetPage(Int32, Int32) Méthode

Définition

Attention

Use ReportSection.SetPage(Int32, Int32) instead.

Définit le numéro de page actuel et le nombre total de pages. Cette méthode doit être appelée avant GetPageSections. L’argument totalPages doit être exact si NeedsHeaderFooterEvaluation est vrai. Sinon, cet argument n’est pas utilisé.

public:
 void SetPage(int pageNumber, int totalPages);
[System.Obsolete("Use ReportSection.SetPage(Int32, Int32) instead.")]
public void SetPage(int pageNumber, int totalPages);
[<System.Obsolete("Use ReportSection.SetPage(Int32, Int32) instead.")>]
member this.SetPage : int * int -> unit
Public Sub SetPage (pageNumber As Integer, totalPages As Integer)

Paramètres

pageNumber
Int32

Numéro de page.

totalPages
Int32

Nombre total de pages.

Attributs

S’applique à