How to Use the Blob Function BlobGetConvexPoints in Visual Basic
Question
I want to know if and how I could use the
Question/fr/glossaire/5293-Blob">Blob-function
BlobGetConvexPoints in Visual Basic.
Résponse
According to the documentation there are two arrays which should return the x
and y values for the points. The two parameters are given by reference in the
function. However in Visual Basic you have to give the function the first
element of this array, not the array itself!
Here a short example how to do it:
Dim aX(100) As Long
Dim aY(100) As Long
BlobGetConvexPoints BlobHandle, I, aX(0), aY(0)