Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
Pages Property
Description
Returns a collection of Page objects (one Page object for each page making up the report) as a Pages object.
Property type
Read-only property
Syntax
Visual Basic
Public Property Pages As Pages
Return Type
Pages object.
Example

Sub Main

Dim App As Object

Dim PartProg As Object

Dim RepWin As Object

Dim Pages As Object

Dim Page As Object

Set App = CreateObject("Pcdlrn.Application")

Set PartProg = App.ActivePartProgram

Set RepWin = PartProg.ReportWindow

 

' Gets a collection of page objects

Set Pages = RepWin.Pages

 

End Sub

See Also