Class RFIDLabel
Represents a RFID label.
Inherited Members
Namespace: FastReport
Assembly: FastReport.Base.dll
Syntax
public class RFIDLabel : ContainerObject, IFRSerializable, IParent
Constructors
RFIDLabel()
Declaration
public RFIDLabel()
Properties
AccessPassword
Gets or sets access password.
Declaration
public string AccessPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AccessPasswordDataColumn
Gets or sets the name of the data column used to set the access password.
Declaration
public string AccessPasswordDataColumn { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AdaptiveAntenna
Gets or sets a value that determines whether to use the adaptive antenna property.
Declaration
public bool AdaptiveAntenna { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Anchor
Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
Declaration
public override AnchorStyles Anchor { get; set; }
Property Value
Type | Description |
---|---|
AnchorStyles |
Overrides
Remarks
Use the Anchor property to define how a control is automatically resized as its parent control is resized. Anchoring a control to its parent control ensures that the anchored edges remain in the same position relative to the edges of the parent control when the parent control is resized.
You can anchor a control to one or more edges of its container. For example, if you have a band with a TextObject whose Anchor property value is set to Top, Bottom, the TextObject is stretched to maintain the anchored distance to the top and bottom edges of the band as the height of the band is increased.
Border
Gets or sets an object's border.
Declaration
public override Border Border { get; set; }
Property Value
Type | Description |
---|---|
Border |
Overrides
CountPermaLock
Gets or sets the count of section for permanent lock of user bank.
Declaration
public int CountPermaLock { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Dock
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
Declaration
public override DockStyle Dock { get; set; }
Property Value
Type | Description |
---|---|
DockStyle |
Overrides
Remarks
Use the Dock property to define how a control is automatically resized as its parent control is
resized. For example, setting Dock to DockStyle.Left
causes the control to align itself with the
left edges of its parent control and to resize as the parent control is resized.
A control can be docked to one edge of its parent container or can be docked to all edges and fill the parent container.
EpcBank
Gets or sets EPC memory bank.
Declaration
public RFIDLabel.RFIDBank EpcBank { get; set; }
Property Value
Type | Description |
---|---|
RFIDLabel.RFIDBank |
EpcFormat
Gets or sets EPC format.
Declaration
public string EpcFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ErrorHandle
Gets or sets error handle mode.
Declaration
public RFIDLabel.EErrorHandle ErrorHandle { get; set; }
Property Value
Type | Description |
---|---|
RFIDLabel.EErrorHandle |
Fill
Gets or sets an object's fill.
Declaration
public override FillBase Fill { get; set; }
Property Value
Type | Description |
---|---|
FillBase |
Overrides
Remarks
The fill can be one of the following types: SolidFill, LinearGradientFill, PathGradientFill, HatchFill.
To set the solid fill color, use the simpler FillColor property.
KillPassword
Gets or sets kill password.
Declaration
public string KillPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
KillPasswordDataColumn
Gets or sets the name of the data column used to set the kill password.
Declaration
public string KillPasswordDataColumn { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LockAccessPassword
Gets or sets the lock type for the access password.
Declaration
public RFIDLabel.LockType LockAccessPassword { get; set; }
Property Value
Type | Description |
---|---|
RFIDLabel.LockType |
LockEPCBank
Gets or sets the lock type for the EPC bank.
Declaration
public RFIDLabel.LockType LockEPCBank { get; set; }
Property Value
Type | Description |
---|---|
RFIDLabel.LockType |
LockKillPassword
Gets or sets the lock type for the kill password.
Declaration
public RFIDLabel.LockType LockKillPassword { get; set; }
Property Value
Type | Description |
---|---|
RFIDLabel.LockType |
LockUserBank
Gets or sets the lock type for the user bank.
Declaration
public RFIDLabel.LockType LockUserBank { get; set; }
Property Value
Type | Description |
---|---|
RFIDLabel.LockType |
ReadPower
Gets or sets the read power level for the label.
Declaration
public short ReadPower { get; set; }
Property Value
Type | Description |
---|---|
System.Int16 |
RewriteEPCbank
Gets or sets a value that determines whether the entire EPC bank will be overwritten.
Declaration
public bool RewriteEPCbank { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
StartPermaLock
Gets or sets the start section for permanent lock of user bank.
Declaration
public int StartPermaLock { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TIDBank
Gets or sets Tag ID memory bank.
Declaration
public RFIDLabel.RFIDBank TIDBank { get; set; }
Property Value
Type | Description |
---|---|
RFIDLabel.RFIDBank |
UseAdjustForEPC
Gets or sets a value that determines whether the using auto adjust of bits when write EPC bank.
Declaration
public bool UseAdjustForEPC { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UserBank
Gets or sets User memory bank.
Declaration
public RFIDLabel.RFIDBank UserBank { get; set; }
Property Value
Type | Description |
---|---|
RFIDLabel.RFIDBank |
Visible
Gets or sets a value indicating whether the object is displayed in the preview window.
Declaration
public override bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Remarks
Setting this property to false will hide the object in the preview window.
WritePower
Gets or sets the write power level for the label.
Declaration
public short WritePower { get; set; }
Property Value
Type | Description |
---|---|
System.Int16 |
Methods
Assign(Base)
Copies the contents of another, similar object.
Declaration
public override void Assign(Base source)
Parameters
Type | Name | Description |
---|---|---|
Base | source | Source object to copy the contents from. |
Overrides
Remarks
Call Assign to copy the properties from another object of the same type. The standard form of a call to Assign is
destination.Assign(source);
which tells the destination object to copy the contents of the source object to itself. In this method, all child objects are ignored. If you want to copy child objects, use the AssignAll method.
See Also
Draw(FRPaintEventArgs)
Declaration
public override void Draw(FRPaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
FRPaintEventArgs | e |
Overrides
GetData()
Gets the data from a datasource that the object is connected to.
Declaration
public override void GetData()
Overrides
Remarks
This method is called by the report engine before processing the object.
Do not call it directly. You may override it if you are developing a new FastReport component. In this method you should get the data from a datasource that the object is connected to.
GetDataAsync(CancellationToken)
Declaration
public override async Task GetDataAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Serialize(FRWriter)
Serializes the object.
Declaration
public override void Serialize(FRWriter writer)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer | Writer object. |
Overrides
Remarks
Do not call this method directly. You should override it if you are developing a new component for FastReport.
This method is called when the object needs to save the state. It may happen when:
- saving the report to the file or stream;
- saving the report to the designer's undo buffer;
- assigning the object to another object using the Assign(Base) or AssignAll methods;
- saving the object to the designer's clipboard;
- saving the object to the preview (when run a report).