ReportForm.GetPageCount Method
Get the number of pages. Disabled for Mono projects and HTML5 displays
<ID("GetPageCount", (int)e.GetPageCount)> _
Public Overridable Function GetPageCount( _
ByVal orientation As Integer _
) As Integer
This language is not supported or no code example is available.
[ID("GetPageCount", (int)e.GetPageCount)]
public virtual int GetPageCount(
int orientation
)
This language is not supported or no code example is available.
Parameters
-
orientation
-
int
Orientation: -1 -> Use orientation of default printer, 0 -> Portrait and 1 -> Landspace
Return Value
int
Number of pages
.NET Framework
Supported in: 4.6.2, 4.7