ComponentOne BarCode for UWP
C1.Xaml.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
    'Declaration
     
    
    <System.Runtime.CompilerServices.AsyncStateMachineAttribute(C1.Xaml.BarCode.C1BarCode/d__140)> 
    Public Function SaveAsync( _ 
       ByVal stream As System.IO.Stream, _ 
       ByVal imgFormat As ImageFormat _ 
    ) As System.Threading.Tasks.Task
    [System.Runtime.CompilerServices.AsyncStateMachine(C1.Xaml.BarCode.C1BarCode/d__140)] 
    public System.Threading.Tasks.Task SaveAsync( 
       System.IO.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