Leadtools.Barcode Namespace : BarcodeOutputTextPosition Enumeration |
[SerializableAttribute()] public enum BarcodeOutputTextPosition : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <SerializableAttribute()> Public Enum BarcodeOutputTextPosition Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As BarcodeOutputTextPosition
[SerializableAttribute()] public enum BarcodeOutputTextPosition : System.IComparable, System.IConvertible, System.IFormattable
ObjectiveC Syntax
Java Syntax
Leadtools.Barcode.BarcodeOutputTextPosition = function() { }; Leadtools.Barcode.BarcodeOutputTextPosition.prototype = {
LeadtoolsMemberMarker(replace me) };
[SerializableAttribute()] public enum class BarcodeOutputTextPosition : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Default | Default text position as defined in the symbology standard, usually below the barcode. If no text output is supported by the symbology, behaves as None. |
None | No text string in the output if supported by the symbology, otherwise, behaves as Default. |
Top | Top of the barcode when supported by the symbology. Otherwise, behaves as Default. |
The BarcodeOutputTextPosition is used as the type of the following properties: OneDBarcodeWriteOptions.TextPosition and FourStateBarcodeWriteOptions.TextPosition.
These properties control whether the data string is written along with the barcode and if so, its position. Note that not all symbologies support all the position values. Some symbologies allow you to control the text position completely (none, default or top), while some will only let you specify whether the text is written or not but not the location (default or none). Other symbologies will always require the text to be written (default). Refer to the Barcode symbology standard you are interested in or try it with the C# or VB Barcode demo.
Writing the text with the barcode is supported only by 1D linear barcodes. The following 1D linear barcode symbologies do not support setting the barcode text string at the bottom (below the barcode) regardless of the value of OneDBarcodeWriteOptions.TextPosition:
This example writes a UPC-A barcode using different text positions.
System.Object
System.ValueType
System.Enum
Leadtools.Barcode.BarcodeOutputTextPosition
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2