PC-DMIS 2022.1 Object Library
Remove Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
NameOrNumber
Required Variant that indicates which control to remove. It can be either a Long or a String. If it is a Long, it is the index number given the control within the LabelControls collection of controls. If it is a String, it is the ID, (or ObjectCode property in the template editor) of the control.
PCDLRN ActiveX DLL > LabelControls Object : Remove Method

Glossary Item Box

Description

This deletes the specified control from the current label template.

Syntax

Visual Basic
Public Function Remove( _
   ByVal NameOrNumber As Variant _
) As Long

Parameters

NameOrNumber
Required Variant that indicates which control to remove. It can be either a Long or a String. If it is a Long, it is the index number given the control within the LabelControls collection of controls. If it is a String, it is the ID, (or ObjectCode property in the template editor) of the control.

Return Type

Boolean value containing the result of the removal. If True, the control was removed. If False, it wasn't.

See Also

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