API Documentation
>
CorelDRAW
>
2025-v26
>
PageSizes
>
IVGPageSizes
PageSizes.Count property
Gets the number of objects
Syntax:
Property
Get
Count
(
)
As
Long
Remarks:
The
Count
property returns the number of objects in a
PageSizes
collection.
Examples:
The following VBA example displays the number of available page sizes for the active document.
Sub Test() MsgBox ActiveDocument.PageSizes.Count End Sub