TX Text Control supports the insertion of barcode controls of the type TXTextControl.Barcode.TXBarcodeControl. A barcode can be positioned like an image or textframe, either geometrically or as a single character. Geometrically its position can either be relative to a paragraph to which it is anchored or relative to the complete document. The BarcodeFrame class handles the positioning of the barcode in the document. A barcode frame is always associated with a barcode control which handles the appearance and the data of the barcode. All barcodes in a document are contained in a BarcodeCollection. The collection can also be used to add barcodes to or to remove barcodes from the document. The barcode collection can be obtained from a TextControl or ServerTextControl through the Barcodes property. The TextControl.BarcodeLayoutDialog method opens a dialog box which offers layout settings like positioning, size and text distances. A barcode can be saved with the TX Text Control and the RTF format and is reconstructed during a loading process. With other formats the barcode image is saved. If a document with barcodes is loaded on a system where no barcode controls are installed, the barcode's image is inserted.


Class Description
TXTextControl.Barcode.BarcodeTypeSettings The BarcodeTypeSettings class provides properties to apply barcode type specific settings.
TXTextControl.DataVisualization.BarcodeCollection An instance of the BarcodeCollection class contains all barcodes in a document represented through objects of the type DataVisualization.BarcodeFrame.
TXTextControl.DataVisualization.BarcodeEventArgs The BarcodeEventArgs class provides data for all events that occur with barcodes.
TXTextControl.DataVisualization.BarcodeFrame An instance of the BarcodeFrame class represents a barcode and its layout in a Text Control document.
TXTextControl.WPF.Barcode.TXBarcodeControl The TXBarcodeControl class provides properties to define type and format of the barcode it displays in WPF.


Constructor Description
TXTextControl.DataVisualization.BarcodeFrame Initializes a new instance of the BarcodeFrame class.
TXTextControl.WPF.Barcode.TXBarcodeControl Initializes a new instance of the TXBarcodeControl class.


Event Description
TXTextControl.ServerTextControl.BarcodeCreated Occurs when a new barcode has been created.
TXTextControl.ServerTextControl.BarcodeDeleted Occurs when a barcode has been deleted.
TXTextControl.WPF.TextControl.BarcodeClicked Occurs when a barcode has been clicked on.
TXTextControl.WPF.TextControl.BarcodeCreated Occurs when a new barcode has been created.
TXTextControl.WPF.TextControl.BarcodeDeleted Occurs when a barcode has been deleted.
TXTextControl.WPF.TextControl.BarcodeDoubleClicked Occurs when a barcode has been doubleclicked on.
TXTextControl.WPF.TextControl.BarcodeMoved Occurs when a barcode has been moved.
TXTextControl.WPF.TextControl.BarcodeRightClicked Occurs when a barcode has been clicked on with the right mouse button.
TXTextControl.WPF.TextControl.BarcodeSelected Occurs when a barcode has been selected.
TXTextControl.WPF.TextControl.BarcodeDeselected Occurs when a barcode has been deselected.
TXTextControl.WPF.TextControl.BarcodeSized Occurs when a barcode has been sized.


Method Description
TXTextControl.ServerTextControl.OnBarcodeCreated Raises the BarcodeCreated event.
TXTextControl.ServerTextControl.OnBarcodeDeleted Raises the BarcodeDeleted event.
TXTextControl.DataVisualization.BarcodeCollection.Add Inserts a new barcode in a Text Control document.
TXTextControl.DataVisualization.BarcodeCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.DataVisualization.BarcodeCollection.GetItem Gets a particular barcode from the collection.
TXTextControl.DataVisualization.BarcodeCollection.Remove Removes a barcode from a Text Control document.
TXTextControl.DataVisualization.BarcodeFrame.AddUndoUnit Adds the current state of the barcode which is connected with this BarcodeFrame to the undo stack.
TXTextControl.DataVisualization.BarcodeFrame.Refresh Refreshes the barcode.
TXTextControl.WPF.TextControl.BarcodeLayoutDialog Invokes the built-in dialog box for alter the layout settings, the size and the text distances of a barcode.
TXTextControl.WPF.TextControl.OnBarcodeClicked Raises the BarcodeClicked event.
TXTextControl.WPF.TextControl.OnBarcodeCreated Raises the BarcodeCreated event.
TXTextControl.WPF.TextControl.OnBarcodeDeleted Raises the BarcodeDeleted event.
TXTextControl.WPF.TextControl.OnBarcodeDeselected Raises the BarcodeDeselected event.
TXTextControl.WPF.TextControl.OnBarcodeDoubleClicked Raises the BarcodeDoubleClicked event.
TXTextControl.WPF.TextControl.OnBarcodeMoved Raises the BarcodeMoved event.
TXTextControl.WPF.TextControl.OnBarcodeRightClicked Raises the BarcodeRightClicked event.
TXTextControl.WPF.TextControl.OnBarcodeSelected Raises the BarcodeSelected event.
TXTextControl.WPF.TextControl.OnBarcodeSized Raises the BarcodeSized event.
TXTextControl.WPF.Barcode.TXBarcodeControl.GetDefaultText Returns the default text for the specified barcode type.
TXTextControl.WPF.Barcode.TXBarcodeControl.GetMaximumTextLength Returns the maximum text length the specified barcode type can have.
TXTextControl.WPF.Barcode.TXBarcodeControl.GetMinimumTextLength Returns the minimum text length the specified barcode type can have.
TXTextControl.WPF.Barcode.TXBarcodeControl.IsTextValid Returns a value whether the specified text is valid for a specific barcode type.
TXTextControl.WPF.Barcode.TXBarcodeControl.Load Loads barcode data into the control.
TXTextControl.WPF.Barcode.TXBarcodeControl.PrintPaint Draws the barcode on a specific object of type System.Drawing.Graphics or System.Windows.Media.DrawingContext with specified bounds or stretch factor.
TXTextControl.WPF.Barcode.TXBarcodeControl.Save Saves the barcode data.
TXTextControl.WPF.Barcode.TXBarcodeControl.SaveImage Saves the barcode image.


Property Description
TXTextControl.ServerTextControl.Barcodes Gets a collection of all barcodes in a document.
TXTextControl.Barcode.BarcodeTypeSettings.HasCheckValue Gets or sets a value indicating whether the current used barcode type includes a check value.
TXTextControl.Barcode.BarcodeTypeSettings.ShowCheckValue Gets or sets a value indicating whether the check value of the current used barcode type is shown with the encrypted barcode text value.
TXTextControl.DataVisualization.BarcodeEventArgs.BarcodeFrame Gets an object that represents the barcode which causes the event.
TXTextControl.DataVisualization.BarcodeFrame.Barcode Gets the barcode control associated with the barcode frame.
TXTextControl.DataVisualization.BarcodeFrame.ExportCompressionQuality Sets a value between 1 and 100, which is the quality of a lossy data compression used, if the barcode's image is exported.
TXTextControl.DataVisualization.BarcodeFrame.ExportFileName Gets or sets the file name, when the barcode's image is exported.
TXTextControl.DataVisualization.BarcodeFrame.ExportFilterIndex Gets or sets the format used, if a barcode's image is exported.
TXTextControl.DataVisualization.BarcodeFrame.ExportResolution Gets or sets the maximum resolution in dots per inch in which the barcode's image is saved.
TXTextControl.DataVisualization.BarcodeFrame.SaveMode Determines whether the barcode's image is stored through its binary data or through a file reference.
TXTextControl.WPF.TextControl.Barcodes Gets a collection of all barcodes contained in the text part with the input focus.
TXTextControl.WPF.Barcode.TXBarcodeControl.AdditionalText Gets or sets an additional text that is displayed below or above the barcode image.
TXTextControl.WPF.Barcode.TXBarcodeControl.Alignment Gets or sets the alignment of the barcode image inside the control.
TXTextControl.WPF.Barcode.TXBarcodeControl.Angle Gets or sets the angle of the barcode image inside the control.
TXTextControl.WPF.Barcode.TXBarcodeControl.BackColor Gets or sets the background color for the barcode control.
TXTextControl.WPF.Barcode.TXBarcodeControl.BarcodeType Gets or sets the type of barcode that should be displayed.
TXTextControl.WPF.Barcode.TXBarcodeControl.BarcodeTypeSettings Gets an object of type BarcodeTypeSettings to determine type specific settings for the current used barcode.
TXTextControl.WPF.Barcode.TXBarcodeControl.ForeColor Gets or sets the foreground color for the barcode.
TXTextControl.WPF.Barcode.TXBarcodeControl.ShowText Gets or sets a value indicating whether the barcode text is displayed below or above the barcode image or not.
TXTextControl.WPF.Barcode.TXBarcodeControl.Text Gets or sets the text the barcode should encrypt.
TXTextControl.WPF.Barcode.TXBarcodeControl.TextAlignment Gets or sets a value indicating whether the barcode text and additional text is displayed below or above the barcode image.
TXTextControl.WPF.Barcode.TXBarcodeControl.UpperTextLength Gets or sets the maximum number of characters the Text property can have.