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

    Parameters

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

    Return Value

    A new instance of VintasoftBitmap.
    Requirements

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

    See Also