PC-DMIS 2022.1 Object Library
Count Property
See Also  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > ReportControls Collection : Count Property

Glossary Item Box

Description

This property counts all the controls in the current section/page and returns it as a Long value.

Property type

Read-only property

Syntax

Visual Basic
Public Property Count As Long

Return Type

Long value.

Remarks

Be aware that a hidden control called "Report" always exists in the Report template and cannot be deleted or otherwise manipulated. This object is used by PC-DMIS for internal purposes only. Your count value will therefore be one higher than expected due to this hidden object.

See Also

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.