Class BarcodeItem
A report print item that evaluates an expression and draws it as a barcode of the configured BarType, emitting bar/space (or QR module) rectangles into the metafile with optional checksum, rotation and colors.
Assembly: Reportman.Reporting.dll
Syntax
public class BarcodeItem : PrintPosItem, IDisposable
Constructors
View Source
BarcodeItem()
Declaration
Fields
View Source
CurrentText
Declaration
public string CurrentText
Field Value
View Source
Truncated
Declaration
Field Value
Properties
View Source
BColor
Declaration
public int BColor { get; set; }
Property Value
View Source
BackColor
Declaration
public int BackColor { get; set; }
Property Value
View Source
BarType
Declaration
public BarcodeType BarType { get; set; }
Property Value
View Source
Checksum
Declaration
public bool Checksum { get; set; }
Property Value
View Source
Declaration
public string DisplayFormat { get; set; }
Property Value
View Source
ECCLevel
Declaration
public int ECCLevel { get; set; }
Property Value
View Source
Expression
Declaration
public string Expression { get; set; }
Property Value
View Source
Modul
Declaration
public int Modul { get; set; }
Property Value
View Source
NumColumns
Declaration
public int NumColumns { get; set; }
Property Value
View Source
NumRows
Declaration
public int NumRows { get; set; }
Property Value
View Source
Ratio
Declaration
public double Ratio { get; set; }
Property Value
View Source
Rotation
Declaration
public short Rotation { get; set; }
Property Value
View Source
Transparent
Declaration
public bool Transparent { get; set; }
Property Value
Methods
View Source
CalculateBarcode()
Declaration
public string CalculateBarcode()
Returns
View Source
Declaration
public void DoLines(string data, int Left, int Top, MetaFile metafile)
Parameters
View Source
This procedure will print the item into the MetaFile, internal implementation
Declaration
protected override void DoPrint(PrintOut adriver, int aposx, int aposy, int newwidth, int newheight, MetaFile metafile, Point MaxExtent, ref bool PartialPrint)
Parameters
| Type |
Name |
Description |
| PrintOut |
adriver |
Report processing driver
|
| int |
aposx |
Horizontal position in twips
|
| int |
aposy |
Vertical position in twips
|
| int |
newwidth |
Width of the bounding box in twips
|
| int |
newheight |
Height of the bounding box in twips
|
| MetaFile |
metafile |
Destination MetaFile
|
| Point |
MaxExtent |
Maximum extension
|
| bool |
PartialPrint |
Returns true if some text will expand multiple pages
|
Overrides
View Source
GetClassName()
Internal function to determine the object type name
Declaration
protected override string GetClassName()
Returns
| Type |
Description |
| string |
Object type name
|
Overrides
View Source
SubReportChanged(SubReportEvent, string)
This event is generated while report is processing to allow the report items to update contents
Declaration
public override void SubReportChanged(SubReportEvent newstate, string newgroup)
Parameters
| Type |
Name |
Description |
| SubReportEvent |
newstate |
New state for the subreport
|
| string |
newgroup |
New group if apply
|
Overrides
Implements