public final class BarcodeField extends TextBoxField
Class represents barcode field.
_FileSelect, _Password
_disableUpdateAppearance
Constructor and Description |
---|
BarcodeField(IDocument doc,
Rectangle rect)
Initializes new instance of the
BarcodeField class. |
BarcodeField(Page page,
Rectangle rect)
Initializes new instance of the
BarcodeField class. |
Modifier and Type | Method and Description |
---|---|
String |
getCaption()
Gets the caption of the barcode object.
|
int |
getECC()
Gets an integer value representing the error correction coefficient.
|
int |
getResolution()
Gets the resolution, in dots-per-inch (dpi), at which the barcode object is rendered.
|
int |
getSymbology()
Specifies which barcode or glyph technology is to be used on this annotation, see
Symbology for details. |
int |
getXSymHeight()
Gets the the vertical distance between two barcode modules, measured in pixels.
|
int |
getXSymWidth()
Gets The horizontal distance, in pixels, between two barcode modules.
|
addBarcode, addImage, getForceCombs, getMaxLen, getMultiline, getScrollable, getSpellCheck, getTextVerticalAlignment, getValue, setForceCombs, setJustification, setMaxLen, setMultiline, setScrollable, setSpellCheck, setTextVerticalAlignment, setValue
add, clear, contains, copyTo, copyTo, flatten, get_Item, get_Item, getAlternateName, getAnnotationIndex, getMappingName, getMaxFontSize, getPageIndex, getPartialName, getRect, getSyncRoot, getTabOrder, isFitIntoRectangle, isGroup, isReadOnly, isSharedField, isSynchronized, iterator, recalculate, remove, setAlternateName, setAnnotationIndex, setFitIntoRectangle, setMappingName, setMaxFontSize, setPartialName, setPosition, setRect, setSharedField, setTabOrder, size, updateAppearances
accept, getAnnotationActions, getAnnotationType, getDefaultAppearance, getExportable, getHighlighting, getOnActivated, getParent, getReadOnly, getRequired, setDefaultAppearance, setExportable, setHighlighting, setOnActivated, setReadOnly, setRequired
createAnnotation, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPdfActions, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setStructParent, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public BarcodeField(Page page, Rectangle rect)
Initializes new instance of the BarcodeField
class.
page
- The page where to place new barcode.rect
- Barcode sizes given in rectangle.public int getResolution()
Gets the resolution, in dots-per-inch (dpi), at which the barcode object is rendered.
public String getCaption()
Gets the caption of the barcode object.
public int getSymbology()
Specifies which barcode or glyph technology is to be used on this annotation, see
Symbology
for details.
Symbology
public int getXSymWidth()
Gets The horizontal distance, in pixels, between two barcode modules.
public int getXSymHeight()
Gets the the vertical distance between two barcode modules, measured in pixels. The ratio XSymHeight/XSymWidth shall be an integer value. For PDF417, the acceptable ratio range is from 1 to 4. For QRCode and DataMatrix, this ratio shall always be 1
public int getECC()
Gets an integer value representing the error correction coefficient. For PDF417, shall be from 0 to 8. For QRCode, shall be from 0 to 3 (0 for ‘L’, 1 for ‘M’, 2 for ‘Q’, and 3 for ‘H’).