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
The created vector image type (0:WMF, 1:EMF, 2:DXF, 3:SVG, 4:SXF)
InVisual Basic the following constants can be used: (ikCreateWMF = 0, ikCreateEMF = 1, ikCreateDXF = 2, ikCreateSVG = 3, ikCreateSXF = 4).
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.

 

The ImageKit8 ActiveX is a product created by Newtone Corporation