com.cete.dynamicpdf.pageelements.barcoding
Class UpcBase
java.lang.Object
com.cete.dynamicpdf.PageElement
com.cete.dynamicpdf.pageelements.TaggablePageElement
com.cete.dynamicpdf.pageelements.RotatingPageElement
com.cete.dynamicpdf.pageelements.barcoding.BarCode
com.cete.dynamicpdf.pageelements.barcoding.UpcBase
- All Implemented Interfaces:
- ICoordinate
- Direct Known Subclasses:
- Ean13, Ean8, Isbn, Ismn, Issn, UpcVersionA, UpcVersionE
public abstract class UpcBase
- extends BarCode
Base class from which UPC, EAN, and JAN bar code page elements are derived.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
- DynamicPDF Generator Enterprise Edition
- DynamicPDF Merger Enterprise Edition
Constructor Summary |
protected |
UpcBase(java.lang.String value,
float x,
float y)
Initializes a new instance of the UpcBase class. |
protected |
UpcBase(java.lang.String value,
float x,
float y,
float scale)
Initializes a new instance of the UpcBase class. |
Methods inherited from class com.cete.dynamicpdf.pageelements.barcoding.BarCode |
drawBarCode, drawRotated, getColor, getPixelsPerXDimension, getSymbolWidth, getValue, getXDimension, getXDimensionMilliMeters, getXDimensionMils, getXDimensionsPerCentiMeter, getXDimensionsPerInch, setColor, setPixelsPerXDimension, setValue, setXDimension, setXDimensionMilliMeters, setXDimensionMils, setXDimensionsPerCentiMeter, setXDimensionsPerInch |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpcBase
protected UpcBase(java.lang.String value,
float x,
float y)
- Initializes a new instance of the
UpcBase
class.
- Parameters:
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.
UpcBase
protected UpcBase(java.lang.String value,
float x,
float y,
float scale)
- Initializes a new instance of the
UpcBase
class.
- Parameters:
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.scale
- The scale of the barcode.
setScale
public void setScale(float scale)
- Sets the scale of the bar code.
- Parameters:
scale
- The scale to set.
drawShowText
protected void drawShowText(PageWriter writer,
TextLineList lines,
float x,
float y)
API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software