[]
        
(Showing Draft Content)

C1.Report.BarCodeField

BarCodeField Class

Represents barcode in the FlexReport.

Inheritance
BarCodeField
Implements
INotify
Namespace: C1.Report
Assembly: C1.FlexReport.dll
Syntax
public class BarCodeField : FieldBase, IScriptContextProvider, ICloneable, INotify

Constructors

Name Description
BarCodeField()

Initializes a new instance of the BarCodeField class.

Properties

Name Description
Align

Gets or sets a value determining how the barcode image is aligned within the field area.

BarCode

Gets or sets the type of barcode.

BarcodeOptions

Gets the BarcodeOptions object defining additional options of barcode.

Font

Gets or sets the field's font.

ForeColor

Gets or sets the field's foreground color.

ParentReport

Gets the FlexReport containing this field.

Text

Gets or sets a ScriptStringValue yielding the text encoded by the barcode.

Methods

Name Description
AfterRender()

Called when report rendering finished. Can be used to finalize object after rendering, release all resources using during rendering.

AssignFrom(ReportObject, bool)

Copies properties from another object into this object.

BeforeRender()

Called when report rendering starts. Can be used to initialize object before rendering.

GetContentAutoHeight(double)

Override this method to calculate the height of object on basis of its content, this method is called when field can grow or shrink vertically.

GetContentAutoSize(out double, out double)

Override this method to calculate sizes of object on basis of its content, this method is called when field can grow or shrink vertically and horizontally.

GetContentAutoWidth(double)

Override this method to calculate the width of object on basis of its content, this method is called when field can grow or shrink horizontally.

GetPropsTable()
InternalBuildBrick(SubSectionBrick)

Creates C1.Report.Rendering.BarCodeBrick descendant which passed to the C1FlexReport rendering engine to put on the pages.

InternalRefreshBrick(FieldBrickBase)
ResetState()

Called when C1FlexReport starts calculation of the section containing this FieldBase. Resets internal state of the field.