Skip to main content
A newer version of this page is available. .

BarCodeControl.ExportToImage(Stream, ImageFormat, Int32) Method

Saves the bar code as an image to a stream with the specified image format and resolution.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public void ExportToImage(
    Stream stream,
    ImageFormat format,
    int resolution
)

Parameters

Name Type Description
stream Stream

The Stream where the image will be saved.

format ImageFormat

A ImageFormat object specifying the format, such as PNG, BMP, GIF, of the saved image.

resolution Int32

An integer value specifying the horizontal and vertical resolution, in dots per inch, of the saved image

See Also