Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
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