Partager via


PageSetup.UsePrinterDefaults Property

Use Printer Defaults.Represents the attribte in schema: usePrinterDefaults

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "usePrinterDefaults")> _
Public Property UsePrinterDefaults As BooleanValue
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As BooleanValue

value = instance.UsePrinterDefaults

instance.UsePrinterDefaults = value
[SchemaAttrAttribute(, "usePrinterDefaults")]
public BooleanValue UsePrinterDefaults { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

See Also

Reference

PageSetup Class

PageSetup Members

DocumentFormat.OpenXml.Spreadsheet Namespace