WinUI | ComponentOne
C1.WinUI.BarCode Assembly / C1.WinUI.BarCode Namespace / C1BarCode Class / SaveAsync(Stream,ImageFormat) Method
System.IO.Stream Where the barcode will be saved.
ImageFormat The format of image
In This Topic
    SaveAsync(Stream,ImageFormat) Method
    In This Topic
    Saves the barcode to a stream.
    Syntax
    public Task SaveAsync( 
       Stream stream,
       ImageFormat imgFormat
    )

    Parameters

    stream
    System.IO.Stream Where the barcode will be saved.
    imgFormat
    ImageFormat The format of image
    Remarks
    The Barcode must be in visual tree.
    See Also