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

Glossary Item Box

Description

This read-only property returns the number of Custom Reports defined for the current measurement routine.

Property type

Read-only property

Syntax

Visual Basic
Public Property CustomReportCount As Long

Return Type

Read-only Long value representing the number of custom reports created for the current measurement routine.

Remarks

Sub Main

Dim App As Object

Dim PartProg As Object

Dim RepWin As Object

Set App = CreateObject("Pcdlrn.Application")

Set PartProg = App.ActivePartProgram

Set RepWin = PartProg.ReportWindow

 

' Displays the number of custom reports

MsgBox "This measurement routine uses " & RepWin.CustomReportCount & " custom reports."

End Sub

See Also

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