VpeSetQRCodeEccLevel

<< Click to Display Table of Contents >>

Navigation:  Barcode Functions (2D) >

VpeSetQRCodeEccLevel

Previous pageReturn to chapter overviewNext page

[Professional Edition and above only]

Sets the error correction code level for QR Codes. The higher the level, i.e. the higher the error tolerance, the less user data can be encoded within a symbol.

void VpeSetQRCodeEccLevel(

VpeHandle hDoc,

int ecc_level

)

VpeHandle hDoc

Document Handle or VPE Object Handle

int ecc_level

the error correction code level

Constant Name

Value

Description

VBAR2D_QRCODE_ECC_LEVEL_L

0

 7% of codewords can be restored

VBAR2D_QRCODE_ECC_LEVEL_M

1

15% of codewords can be restored

VBAR2D_QRCODE_ECC_LEVEL_Q

2

25% of codewords can be restored

VBAR2D_QRCODE_ECC_LEVEL_H

3

30% of codewords can be restored

Default:

VBAR2D_QRCODE_ECC_LEVEL_L

 

See also:

"Barcodes (2D)" in the Programmer's Manual