Compartir a través de


Report.SetPage(Int32, Int32) Método

Definición

Precaución

Use ReportSection.SetPage(Int32, Int32) instead.

Establece el número de página actual y el recuento total de páginas. Es necesario llamar a este método antes que a GetPageSections. El argumento totalPages debe ser preciso si NeedsHeaderFooterEvaluation es verdadero. De lo contrario, no se utilizará este argumento.

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)

Parámetros

pageNumber
Int32

Número de página.

totalPages
Int32

Número total de páginas.

Atributos

Se aplica a