PageSetup.PrintQuality Property
Excel Developer Reference |
Returns or sets the print quality. Read/write Variant.
Syntax
expression.PrintQuality(Index)
expression A variable that represents a PageSetup object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Index | Optional | Variant | Horizontal print quality (1) or vertical print quality (2). Some printers may not support vertical print quality. If you don’t specify this argument, the PrintQuality property returns (or can be set to) a two-element array that contains both horizontal and vertical print quality. |
Example
This example sets the print quality on a printer with non-square pixels. The array specifies both horizontal and vertical print quality. This example may cause an error, depending on the printer driver you’re using.
Visual Basic for Applications |
---|
|
This example displays the current setting for horizontal print quality.
Visual Basic for Applications |
---|
|
See Also