Collapse All Expand All

PC-DMIS 2019 R1 Object Library |
GetCustomReportName Method
See Also Send Topic Feedback | See Object Hierarchy Chart

index
  Long value representing the specific custom report in a collection of custom reports.

PCDLRN ActiveX DLL > ReportWindow Object : GetCustomReportName Method

Glossary Item Box

# Description

Returns the name of the custom report name associated with the index value.

# Syntax

Visual Basic
    Public Function GetCustomReportName( _
       ByVal index As Long _
    ) As String

# Parameters

index
  Long value representing the specific custom report in a collection of custom reports.

# Return Type

String value representing the name of the custom report.

# Remarks

This only returns the file name for the custom report, not the full directory pathway to the file.

Index value for the first report starts at 0.

# Example

If you have 5 custom reports for the current measurement routine, a value of 0 would return the first report's name, a value of 6 would return the fifth report's name.

See the LoadCustomReport method for an example of this.

# See Also

ReportWindow Object | ReportWindow Members | LoadCustomReport Method

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