VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging Namespace / VintasoftImage Class / SetImage Method / SetImage(VintasoftBitmap,Boolean) Method
VintasoftBitmap object.
Determines that System.Drawing.Image object must be disposed after use.



In This Topic
    SetImage(VintasoftBitmap,Boolean) Method
    In This Topic
    Sets an image of the VintasoftImage from the VintasoftBitmap object.
    Syntax
    'Declaration
     
    Public Overloads Sub SetImage( _
       ByVal bitmap As VintasoftBitmap, _
       ByVal disposeBitmapAfterUse As Boolean _
    ) 
    public void SetImage( 
       VintasoftBitmap bitmap,
       bool disposeBitmapAfterUse
    )
    public: void SetImage( 
       VintasoftBitmap* bitmap,
       bool disposeBitmapAfterUse
    ) 
    public:
    void SetImage( 
       VintasoftBitmap^ bitmap,
       bool disposeBitmapAfterUse
    ) 

    Parameters

    bitmap
    VintasoftBitmap object.
    disposeBitmapAfterUse
    Determines that System.Drawing.Image object must be disposed after use.
    Exceptions
    ExceptionDescription
    Thrown if bitmap is null.
    Throw if IsImageDataLocked is set to true.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also