Barcode
Represents the KendoReact Barcode component.
Definition
Package:@progress/kendo-react-barcodes
Properties
props
BarcodeProps intersected with RefAttributes<any>
The props of the Barcode component.
Accessors
element
null | HTMLDivElement
Gets the DOM element of the Barcode.
surface
null | Surface
Gets the Drawing Surface of the Barcode.
Methods
Exports the component as an image. The export operation runs asynchronously and returns a promise.
The parameters for the exported image.
Returns:Promise<string>
- A promise that resolves with a PNG image encoded as a Data URI.
Exports the component as an SVG document. The export operation runs asynchronously and returns a promise.
The parameters for the exported file.
Returns:Promise<string>
A promise that resolves with an SVG document that is encoded as a Data URI.
Exports a Barcode component as a Drawing Scene.
The parameters for the export operation.
Returns:Group
A promise that returns the root Group of the scene.