GetStillDIB Method

Summary

Gets a device-independent bitmap (HDIB).

Syntax

C#
C++/CLI
public virtual IntPtr GetStillDIB( 
   int timeOut 
) 
public:  
   virtual System::IntPtr GetStillDIB( 
      Int32 timeOut 
   ) 

Parameters

timeOut

A value containing the maximum time to wait for the image, in milliseconds.

Return Value

System.IntPtr

Remarks

If the method succeeds, the caller must free the returned HDIB by calling the GlobalFree method. If TimeOut is -1, the method's time-out interval never elapses. If the method fails, an error is raised. For more information, refer to the Error Codes.

Note

GetStillDIB uses long type casting for the underlying HDIB object, it is strongly recommended to use the newer version of this method GetStillHDIB that uses LONG_PTR casting.

Requirements

Target Platforms

See Also

CaptureCtrl Class

CaptureCtrl Members

Leadtools.Multimedia Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.