←选择平台

PatchCodeBarcodeWriteOptions Class

Summary
Contains extra options to use when writing Patch Code barcodes.
Syntax
C#
VB
Objective-C
C++
Java
[SerializableAttribute()]publicclassPatchCodeBarcodeWriteOptions :BarcodeWriteOptions
PublicClassPatchCodeBarcodeWriteOptionsInheritsBarcodeWriteOptionsImplements系统。ICloneable
@interfaceLTPatchCodeBarcodeWriteOptions : LTBarcodeWriteOptions
publicclassPatchCodeBarcodeWriteOptionsextendsBarcodeWriteOptions
[TypeConverterAttribute()][SerializableAttribute()]publicref classPatchCodeBarcodeWriteOptions :publicBarcodeWriteOptions, System.ICloneable
Remarks

ThePatchCodeBarcodeWriteOptionsclass is used to control the options when writing Patch Code barcodes using LEADTOOLS. Set the options in two ways:

TheBarcodeWriterclass contains default options for each barcode symbology (or group of common symbologies). These options can be retrieved using theBarcodeWriter.GetDefaultOptionsmethod, passing one of the following:

. Then change the members of the returnedPatchCodeBarcodeWriteOptions, by casting it fromBarcodeWriteOptionstoPatchCodeBarcodeWriteOptions.

You can also create an instance of thePatchCodeBarcodeWriteOptionsclass and use it directly in theBarcodeWriter.WriteBarcodemethod which accepts the options as an input parameter.

The baseBarcodeWriteOptionscontains the following members and features:

Member Description
BarcodeWriteOptions.ForeColor

Controls the barcode foreground color (color of the bars or symbols) to use when writing a barcode to an image.

BarcodeWriteOptions.BackColor

Controls the barcode background color (color of the spaces) to use when writing a barcode to an image.

BarcodeWriteOptions.LoadandBarcodeWriteOptions.Save

Can be used to save or load the options to/from an XML file or stream.

BarcodeWriteOptions.GetSupportedSymbologies

This class overrides the base class method to return an array containing the following symbologies:BarcodeSymbology.PatchCode

In addition to these features and members,PatchCodeBarcodeWriteOptionscontains these Patch Code barcodes specific features:

Member Description
UseXModule

Use the XModule when writing barcodes of this type

XModule

The size of the smallest module when writing a Patch Code barcode

Example

For an example, refer toPatchCodeBarcodeReadOptions.

Requirements

Target Platforms

Leadtools.Barcode Assembly
188金宝搏的网址客服|Support|Contact Us|Intellectual Property Notices
© 1991-2021LEAD Technologies, Inc.All Rights Reserved.