Returns how many pages long a report is. Can only be called after process completes. For html and text reports (which by definition are 1 page long) it will return the number of pages it would be if it was a paged report.
Syntax
| Visual Basic (Declaration) | |
|---|
Public ReadOnly Property NumPages As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Report
Dim value As Integer
value = instance.NumPages |
| C# | |
|---|
public int NumPages {get;} |
| Managed Extensions for C++ | |
|---|
public: __property int get_NumPages(); |
| C++/CLI | |
|---|
public:
property int NumPages {
int get();
} |
Requirements
Platforms: Windows 10, Windows NT, Windows Server
See Also