PC-DMIS 2021.1 Object Library
Item Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
NameOrNumber
Required Variant that indicates which LabelTemplates object to return. It can be either a Long or a String. If it is a Long, it is the index number of the LabelTemplate object in the LabelTemplates collection. If it is a String, it is the ID of the LabelTemplate object.
PCDLRN ActiveX DLL > LabelTemplates Object : Item Method

Glossary Item Box

Description

Item function returns the LabelTemplate Object with the given name or number.

Syntax

Visual Basic
Public Function Item( _
   ByVal NameOrNumber As Variant _
) As LabelTemplate

Parameters

NameOrNumber
Required Variant that indicates which LabelTemplates object to return. It can be either a Long or a String. If it is a Long, it is the index number of the LabelTemplate object in the LabelTemplates collection. If it is a String, it is the ID of the LabelTemplate object.

Return Type

LabelTemplate object.

Remarks

Since the Item method is the default, the function name can be omitted.

See Also

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