This method retrieves a list of ports. This method is recommended when using scripting or other languages that require variant types 

[Visual Basic]   [ Long = ]imagekitcontrolname.PrintDraw.EnumPortsVariant(PortNames As Variant)

Parameters

Name Explanation
PortNames A string containing the retrieved port names

Return Value

The number of retrieved ports

Explanation

The EnumPortsVariant method retrieves a list of ports. This method is recommended when using scripting or other languages that require variant types. If the return value is 1 or more, then list of retrieved port names will be set in the PortNames parameter.

The PortNames string will be returned as "xxxxx,xxxxx,xxxxx,¥¥¥¥¥¥¥¥," (delimited by commas and ends with a comma).

Also see the EnumPorts method.

Note: In VB.NET and C#.NET, you cannot retrieve the string for PortNames. Use InvokeMembers instead. For details, please see the code example on the EnumPorts method.

 

The ImageKit8 ActiveX is a product created by Newtone Corporation