Product Logo

CNS Barcode

Scan and Generate Barcodes

Functions

CNSBC_GetProfileOption

NameCNSBC_GetProfileOption
Description

This function will return the setting for one of the options set in the given profile.

Return TypeText
FormatCNSBC_GetProfileOption ( ProfileName ; OptionName )
Required Parameters
ProfileName

This is the name of the profile to get the option from.

OptionName

This is the name of the option to return. Valid values are “Action”, “ScriptDB”, “ScriptName”, “FieldDB”, “FieldTable”, “FieldName”, or “CameraName”.

Examples
Example 1

This returns the current action set on the "MyProfile" profile.

CNSBC_GetProfileOption( "MyProfile" ; "Action" )
Example 2

This returns the name of the field to set for the "SetField" action in the "MyProfile" profile.

CNSBC_GetProfileOption( "MyProfile" ; "FieldName" )