[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.BarCodeCellType

BarCodeCellType Class

Represents a barcode cell.

Inheritance
BarCodeCellType
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class BarCodeCellType : BaseCellType, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IEnhancedPdfRenderer, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ICellType, IEditor, IRenderer, IFormatter, IEditFormula, IFormulaEditor, ICloneable, ISerializeSupport, ISerializable, IPdfSupport, IReuseEditorControl, IFormulaEditingSupport, ICellType, ICloneable<ICellType>, ICellRenderer, IFormatter
Public Class BarCodeCellType
    Inherits BaseCellType
    Implements IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IEnhancedPdfRenderer, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ICellType, IEditor, IRenderer, IFormatter, IEditFormula, IFormulaEditor, ICloneable, ISerializeSupport, ISerializable, IPdfSupport, IReuseEditorControl, IFormulaEditingSupport, ICellType, ICloneable(Of ICellType), ICellRenderer, IFormatter

Constructors

Name Description
BarCodeCellType()

Creates a new barcode cell.

BarCodeCellType(SerializationInfo, StreamingContext)

Creates a new barcode cell for deserialization.

Properties

Name Description
AcceptsCheckDigit

Gets or sets whether to accept the check digit in the input.

AdjustSize

Gets or sets whether the barcode adjusts its size according to the BarSize property.

AutoStretch

Gets or sets whether the barcode automatically resizes itself when the cell size changes.

BarAdjust

Gets or sets the width of the adjust bar for fine tuning the placement.

BarCodePadding

Gets or sets the left and right padding of the barcode.

BarSize

Gets or sets the height and width of the barcode.

DisplayCheckDigit

Gets or sets whether the check digit is visible.

DisplayMode

Gets or sets how the barcode is displayed in the cell.

FixedLength

Gets or sets the number of the fixed digits of the value of the barcode. Only can be set if barcode type is PostNet, ITF, or Code39. If bar type is PostNet, the value must be 5 or 10 or 12.

IsFormulaValue

Determines whether the editor contains a formula.

Message

Gets or sets whether to show the message string with the barcode.

MessagePosition

Gets or sets the display position message associated with the barcode.

MessageValue

Gets or sets the message string.

MinimumHeight

Gets or sets the minimum height of the entire barcode.

ModuleSize

Gets or sets the size of the barcode module.

Resolution

Gets or sets the resolution (in dots-per-inch) of the output image of the barcode.

Rotation

Gets or sets the rotation angle of the barcode.

Type

Gets or sets the bar type in the barcode.

Unit

Gets or sets the measurement unit of the barcode.

Methods

Name Description
CanBeOverflown()

Determines whether data from another cell can overflow into this cell (whether this cell can be overflowed into).

CanOverflow()

Determines whether a cell can overflow its data into an adjacent cell.

CancelEditing()

Cancels the editing of a cell.

Clone()

Clones this cell type object.

CreateBitmap(int, int, object)

Creates the bitmap image of the barcode.

CreateBitmap(int, object)

Creates the bitmap image of the barcode.

CreateBitmap(object)

Creates the bitmap image of the barcode.

CreateMetafile(int, int, object)

Creates the image metafile from the barcode with the specified resolution (in DPI for X and Y).

CreateMetafile(int, object)

Creates the image metafile from the barcode with the specified resolution (in DPI).

CreateMetafile(object)

Creates the image metafile from the barcode.

Deserialize(XmlNodeReader)

Loads the object from XML.

Format(object)

No formatting needed.

GetEditorControl(Appearance, float)

Returns the barcode editor control (BarCodeValueEditor).

GetEditorControl(Control, Appearance, float)

Gets the edit control for this cell type with the specified appearance and scaling.

GetEditorValue()

Returns the text entered by the user in the editor control.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

GetPreferredSize(Graphics, Size, Appearance, object, float)

Determines the default fixed size of the barcode in pixels.

GetPreferredSize(Control)

Gets the preferred (maximum required) size of the cell for the editor control.

GetReservedCursor(object)

Gets the cursor reserved for this cell type.

InitializeEditorControl(Control, Appearance, float)

Initializes the editor control.

IsReservedKey(KeyEventArgs)

Determines whether the specified key has special meaning to the editor control.

IsReservedLocation(Graphics, int, int, Rectangle, Appearance, object, float)

Determines whether the specified cursor location has special meaning to the editor control.

IsValid(object)

Determines whether the specified value is valid.

PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float)

Creates an image of the barcode and draws it inside the cell.

Parse(string)

No formatting needed.

Serialize(XmlTextWriter)

Saves the object to XML.

SetEditorValue(object)

Sets the value to the editor when it appears.

ShowSubEditor()

Shows the subeditor control associated with the cell.

StartEditing(EventArgs, bool, bool)

Starts the editing of a cell.

StopEditing()

Stops the editing of a cell.