Condividi tramite


Metodo Report.SetPage

Nota: questa API è obsoleta.

Sets the current page number and total page count. This method must be called before GetPageSections. The totalPages argument must be accurate if NeedsHeaderFooterEvaluation is true. Otherwise, this argument is unused.

Spazio dei nomi  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Sintassi

'Dichiarazione
<ObsoleteAttribute("Use ReportSection.SetPage(Int32, Int32) instead.")> _
Public Sub SetPage ( _
    pageNumber As Integer, _
    totalPages As Integer _
)
'Utilizzo
Dim instance As Report 
Dim pageNumber As Integer 
Dim totalPages As Integer

instance.SetPage(pageNumber, totalPages)
[ObsoleteAttribute("Use ReportSection.SetPage(Int32, Int32) instead.")]
public void SetPage(
    int pageNumber,
    int totalPages
)
[ObsoleteAttribute(L"Use ReportSection.SetPage(Int32, Int32) instead.")]
public:
void SetPage(
    int pageNumber, 
    int totalPages
)
[<ObsoleteAttribute("Use ReportSection.SetPage(Int32, Int32) instead.")>]
member SetPage : 
        pageNumber:int * 
        totalPages:int -> unit
public function SetPage(
    pageNumber : int, 
    totalPages : int
)

Parametri

Vedere anche

Riferimento

Report Classe

Spazio dei nomi Microsoft.ReportingServices.OnDemandReportRendering