This method creates a vector image in the format specifed.
[Visual Basic] [ Long =
]imagekitcontrolname.Vector.CreateImage(Type
As CreateVectImageConstants, Width As Long, Height As Long, Xdpi As
Long, Ydpi As Long)
[Visual C++] [
long =
]imagekitcontrolname.GetVector().CreateImage(long
Type, long Width, long Height, long Xdpi, long Ydpi)
Parameters
Name | Explanation |
---|---|
Type |
|
Width | The width of the created image (in pixels) |
Height | The height of the created image (in pixels) |
Xdpi | The number of pixels in one horizontal inch of the created image |
Ydpi | The number of pixels in one vertical inch of the created image |
Return Value
If successful, the image handle of the vector image is returned. If unsuccessful, 0 is returned.
Explanation
The CreateImage method creates a vector image in the format specified.
The CreateImage method corresponds to the Common Control's CreateVectImageEx method in earlier versions of the ImageKit.