This method retrieves a list of supported resolutions for the printer designated by the printer name. This method is recommended when using scripting or other languages that require variant types.

[Visual Basic]   [ Long = ]imagekitcontrolname.PrintDraw.EnumResolutionsVariant(XResolutions As Variant, YResolutions As Variant)

Parameters

Name Explanation
XResolutions An array containing the list of retrieved X resolutions
YResolutions An array containing the list of retrieved Y resolutions

  In Visual Basic, Dim XRes(0 To 2) As Integer then set XRes(0)

Return Value

Returns the number of retrieved items. Returns 0 if unsuccessful.

Explanation

The EnumResolutionsVariant method retrieves a list of supported resolutions for the printer designated by the printer name. This method is recommended when using scripting or other languages that require variant types. If you need to know the number of elements in the array, the GetArrayNum method can be used to retrieve this. The XResolutions and YResolutions parameters contains the retrieved (horizontal and vertical) resolution values in units of dots per inch (dpi)

Also see theEnumResolutions method.

 

The ImageKit8 ActiveX is a product created by Newtone Corporation