PC-DMIS 2021.2 Object Library
GetProgramOption Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
opt
The option’s status that is being checked.
PCDLRN ActiveX DLL > OldBasic Object : GetProgramOption Method

Glossary Item Box

Description

Returns the status of the application setting option

Syntax

Visual Basic
Public Function GetProgramOption( _
   ByVal opt As RPROGOPTIONSTYPE _
) As Long

Parameters

opt
ValueDescription
PCD_AUTOPREHIT 
PCD_AUTOPROJREFPLANE 
PCD_AUTOTIPSELECT 
PCD_DISPSPEEDS 
PCD_ENDKEY 
PCD_EXTSHEETMETAL 
PCD_FLYMODE 
PCD_HASINDEXPH9 
PCD_HASINDEXROTTABLE 
PCD_HASMANPH9 
PCD_HASMANROTTABLE 
PCD_HASPH9 
PCD_HASPHS 
PCD_HASROTTABLE 
PCD_ISARMTYPECMM 
PCD_ISONLINE 
PCD_TABLEAVOIDANCE 
PCD_USEDIMCOLORS 
The option’s status that is being checked.

Return Type

 Returns 1 if the option is on and 0 if the option is off

See Also

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