VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode Namespace / ImageSharpConverter Class / Convert Methods / Convert(VintasoftBitmap,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    Convert(VintasoftBitmap,Boolean) Method (ImageSharpConverter)
    In This Topic
    Converts the specified VintasoftBitmap to the SixLabors.ImageSharp.Image object. Ownership of the bitmap is transferred, so the caller must not reference it again.
    Syntax
    'Declaration
    
    Public Overloads Shared Function Convert( _
    ByVal bitmap
    The VintasoftBitmap object.
    As Vintasoft.Imaging.VintasoftBitmap, _
    ByVal disposeBitmap
    A value indicating whether bitmap must be disposed, so the caller must not reference it again.
    As Boolean _
    ) As SixLabors.ImageSharp.Image
    public static SixLabors.ImageSharp.Image Convert(
    Vintasoft.Imaging.VintasoftBitmap bitmap,
    bool disposeBitmap
    )
    public: static SixLabors.ImageSharp.Image Convert(
    Vintasoft.Imaging.VintasoftBitmap* bitmap,
    bool disposeBitmap
    )
    public:
    static SixLabors.ImageSharp.Image Convert(
    Vintasoft.Imaging.VintasoftBitmap^ bitmap,
    bool disposeBitmap
    )

    Parameters

    bitmap
    The VintasoftBitmap object.
    disposeBitmap
    A value indicating whether bitmap must be disposed, so the caller must not reference it again.

    Return Value

    A new instance of SixLabors.ImageSharp.Image class.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6

    See Also