The StartDibAccessVariant method is used to allow access to pixels in the Device Independent Bitmap (DIB). This method is equivalent to the StartDibAccess method but can be used in scripting languages that require variant types or when using 64 bit builds in VB.NET or C#.

This method is to be used in conjunction with the EndDibAccessVariant method.

[Visual Basic]   [ Boolean = ]imagekitcontrolname.Effect.StartDibAccessVariant(hDib As Long, DibNo As VARIANT)
[VB.NET]   [ Boolean = ]imagekitcontrolname.Effect.StartDibAccessVariant(int hDib, ref object DibNo)

Parameters

Name Explanation
hDib The raster image memory handle (supports 1, 4, 8, 16. 24, and 32 bit images)
DibNo The parameter that retrieves the identification number of the hDIB

Return Value

Returns True (nonzero) if successful, otherwise returns False (0).

Explanation

The StartDibAccessVariant method is used to allow access to pixels in the Device Independent Bitmap (DIB). This method is equivalent to the StartDibAccess method but can be used in scripting languages that require variant types. This method is to be used in conjunction with the EndDibAccessVariant method. The DibNo is the identification number of the hDib used by the GetDibPixelVariant, SetDibPixelVariant, and EndDibAccessVariant methods.

To access the DIB and manipulate pixel data, you must use the following methods as a group:
StartDibAccessVaraint
      |
GetDibPixelVariant, SetDibPixelVariant
      |
EndDibAccessVariant

The ImageKit10 ActiveX is a product created by Newtone Corporation