Partager via


PageSetup.PrintQuality Property

Returns or sets the print quality.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property PrintQuality ( _
    Index As Object _
) As Object
    Get
    Set
'Usage
Dim instance As PageSetup
Dim Index As Object
Dim value As Object

value = instance.PrintQuality(Index)

instance.PrintQuality(Index) = value
Object this[
    Object Index
] { get; set; }

Parameters

  • Index
    Type: System.Object

    Optional Object. 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.

Property Value

Type: System.Object

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace