[]
        
(Showing Draft Content)

导出条形码

GcExcel支持将条形码导出为PDF文档。有关支持的条形码以及将其导出为PDF文档的示例代码实现的详细信息,请参阅:

限制

下表列出了条形码通用方法中支持但在导出为PDF文档时不受支持的参数:

通用属性

导出PDF

color

Not Supported

backgroundColor

Not Supported

下表列出了导出为PDF文档时,对不同条形码类型中的参数支持程度,如下表所示:

条形码类型

参数

导出PDF

QRcode

charSet

default "UTF8"

charCode

connection

Not Supported

model

version

mask

These parameters are calculated and set by the program.

DataMatrix

eccMode

ecc200SymbolSize

ecc200EndcodingMode

defult "ECC200"

ecc00_140Symbole

structureAppend

structureNumber

fileIdentifier

Not Supported

PDF417

compact

Not Supported

EAN-13

addOn

addOnLabelPosition

Not Supported

codabar

checkDigit

nwRatio

Not Supported

code39

labelWithStartAndStopCharacter

checkDigit

nwRatio

fullASCII

Not Supported

code93

checkDigit

fullASCII

Not Supported

code49

This barcode is not supported

code128

codeSet

Not Supported

一些条形码类型支持各种字体选项,如fontFamily、fontWeight、fontStyle等。如前所述,以下字体选项的支持有限:

字体选项

导出PDF

fontStyle

'normal' and 'italic'

fontTextDecoration

'normal' and 'underline'