<< Click to Display Table of Contents > 

Client Control Interface Manual > Job > Entity Objects > Barcode > QR Code Ex

QR Code Ex
Previous pageReturn to chapter overviewNext page

QR Code Ex Settings

QR Code Ex Version

 

QR Code Ex Settings
 

Set

Get

DLL Function

int CCI_Return = ScSetEntityLongData(string Entity_Name, int Data_ID, int Flag)

int Flag = ScGetEntityLongData(string Entity_Name, int Data_ID)

ASCII Function

int CCI_Return = ScCciSetEntityLongData(string Entity_Name, int Data_ID, int Flag)

int Flag = ScCciGetEntityLongData(string Entity_Name, int Data_ID)

Description

Set or get the state of the checkboxes from Barcode Extended settings (availiable only for the QR Code Ex barcode type).

Entity_Name

Type: string

Unit: none

Specify the entity to be changed.

Data_ID

Type: int

ID:

Location: ScComSAMLightClientCtrlFlags

scComSAMLightClientCtrlLongDataIdQrCodeExSetMode

127

Enable checkboxes.

scComSAMLightClientCtrlLongDataIdQrCodeExClearMode

128

Disable checkboxes.

Flag

Type: int

Flag:

Location: ScComSAMLightClientCtrlFlags

scComSAMLightClientCtrlLongDataIdQrCodeExModeDots

0x1

scComSAMLightClientCtrlLongDataIdQrCodeExModeMicro

0x40000

scComSAMLightClientCtrlLongDataIdQrCodeExModeTilde

0x80000

scComSAMLightClientCtrlLongDataIdQrCodeExModeCells

0x100000

scComSAMLightClientCtrlLongDataIdQrCodeExModeEllipse

0x400000

scComSAMLightClientCtrlLongDataIdQrCodeExModeTextFreelyEditable

0x800000

CCI_Return

Type: int

CCI return number, see error list.

Notes

This Flags value is usually a combination of multiple flags. See the chapter How to work with flags to learn more about combining multiple flags

If this command is used to get the state of the checkboxes of the Barcode Extended settings, only Data_ID 127 should be used.

C# Example: Enable the generate dots checkbox and disable the FreelyEditable checkbox:
 
int checkbox_Enable = (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlLongDataIdQrCodeExModeDots;

int CCI_Return_01 = cci.ScSetEntityLongData("QRCode1", (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlLongDataIdQrCodeExSetMode, checkboxEnable);

 

int checkbox_Disable = (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlLongDataIdQrCodeExModeTextFreelyEditable;

int CCI_Return_02 = cci.ScSetEntityLongData("QRCode1", (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlLongDataIdQrCodeExClearMode, checkboxDisable);

Table 153: QR Code Settings

QR Code Ex Version

 

Set

Get

DLL Function

int CCI_Return = ScSetEntityLongData(string Entity_Name, int Data_ID, QR_Version)

QR_Version = ScGetEntityLongData(string Entity_Name, int Data_ID)

ASCII Function

int CCI_Return = ScCciSetEntityLongData(string Entity_Name, int Data_ID, QR_Version) QR_Version = ScCciGetEntityLongData(string Entity_Name, int Data_ID)

Description

Set the Version of the QR Code Ex. For other barcodes this is named Mode.

Entity_Name

Type: string

Unit: none

Specify the entity name to be changed.

Data_ID

Type: int

ID:

Location: ScComSAMLightClientCtrlFlags

scComSAMLightClientCtrlLongDataIdQrCodeExVersion

152

Version as in the QR Code Ex extended settings.

Parameter

Type: int

Unit: none

0 relates to Auto, other numbers correspond to their respective Version number.

CCI_Return

Type: int

CCI return number, see error list.

Notes

To switch to Micro Qr Code versions, use the command QR Code Ex Settings first by using the flag scComSAMLightClientCtrlLongDataIdQrCodeExModeMicro. Afterwards the versions behave the same way as described under "Parameter".

C# Example: Set the version for a QR Code Ex named "Barcode1" to "Version 7 (45x45)":

 

int CCI_Return = cci.ScSetEntityLongData("Barcode1", (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlLongDataIdQrCodeExVersion, 7);

Table 154: Barcode Version