The EndDibAccessVariant method is used to allow access to pixels in the Device Independent Bitmap (DIB). This method is to be used in conjunction with the StartDibAccessVariant method.

[Visual Basic]   [ Boolean = ]imagekitcontrolname.Effect.EndDibAccessVariant(DibNo As Integer)
[VB.NET]   [ Boolean = ]imagekitcontrolname.Effect.EndDibAccessVariant(DibNo As Short)
[C#.NET]   [ bool = ]imagekitcontrolname.Effect.EndDibAccessVariant(short DibNo)

Parameters

Name Explanation
DibNo The identification number of the DIB as retrieved from the StartDibAccessVariant method.

Return Value

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

Explanation

The EndDibAccessVariant method is to be used in conjunction with the StartDibAccessvariant method. This method is equivalent to the EndDibAccess method but can be used in scripting languages that require variant types. The DibNo parameter value must be the same as that retrieved from the StartDibAccessVariant method.

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

The ImageKit10 ActiveX is a product created by Newtone Corporation