Collapse All Expand All

PC-DMIS 2019 R1 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.

# 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

ReportWindow Object | ReportWindow Members

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