ComponentOne VSView 8.0
Port Property

Returns or sets the name of the current port.

Syntax

[form!]VSPrinter.Port[ = value As String ]

Remarks

You can use this property to provide user feedback -- so users know which printer port is currently selected -- or to select the printer port you want to use.

You cannot change this property while creating a document. If you want to select a port, do so before calling the StartDoc method. You can only set this property to a valid port name. To obtain a list of valid port names, read the Ports() property.

If the DefaultDevice property is set to True, the port selected will become the default port for all Windows applications.

Data Type

String

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback