Skip to main content
All docs
V21.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SnapBarCode Members

In This Article
Provides functionality to manipulate bar codes in Snap documents.

#Properties
Show Inherited Hide Inherited

Name Description
Active Indicates whether or not the SnapEntity is locked. Inherited from SnapEntity.
Alignment Specifies the alignment of the bar code image within the control’s bounds.
AutoModule Specifies whether or not the SnapBarCode.Module property value should be calculated automatically based upon the bar code size.
Data Provides data to the SnapBarCode.
DataFieldName Specifies the name of a data field that is assigned to the Snap field. Inherited from SnapSingleListItemEntity.
Document Provides access to a SnapDocument, to which the SnapEntity belongs. Inherited from SnapEntity.
EmptyFieldDataAlias Specifies the text to show in a document instead of a blank space if a Snap field receives an empty data source record. Inherited from SnapSingleListItemEntity.
EnableEmptyFieldDataAlias Enables the application displaying a custom text instead of a blank space if a Snap field receives an empty data source record. Inherited from SnapSingleListItemEntity.
Field Provides access to a Field associated with the SnapEntity. Inherited from SnapEntity.
Height
IsParameter Gets or sets whether the data field associated with a SnapEntity object is a parameter. Inherited from SnapSingleListItemEntitySupportsParameters.
Module Specifies the width of the narrowest bar or space in the bar code.
Orientation Specifies the angle by which a bar code is rotated.
ShowData Specifies whether or not to display the SnapBarCode‘s incoming data as plain text together with the encoded bar code image.
Size
SubDocument Provides access to an object implementing the basic document functionality that is common for the header, footer and the main document body. Inherited from SnapEntity.
TextAlignment Specifies the alignment of the bar code’s text.
Width

#Methods
Show Inherited Hide Inherited

Name Description
BeginUpdate() Enables runtime customization of a SnapEntity. Inherited from SnapEntity.
Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Inherited from IDisposable.
EndUpdate() Unlocks the SnapEntity after a call to the SnapEntity.BeginUpdate method and causes an immediate visual update of the object. Inherited from SnapEntity.
GetGenerator() Returns the SnapBarCode‘s generator that specifies the bar code type.
SetGenerator(BarCodeGeneratorBase) Assigns a generator that specifies the bar code type to the SnapBarCode.
See Also