Share via


PageSetupProperties.FitToPage Property

Fit To Page.Represents the attribte in schema: fitToPage

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

Syntax

'Declaration
<SchemaAttrAttribute(, "fitToPage")> _
Public Property FitToPage As BooleanValue
    Get
    Set
'Usage
Dim instance As PageSetupProperties
Dim value As BooleanValue

value = instance.FitToPage

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

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

See Also

Reference

PageSetupProperties Class

PageSetupProperties Members

DocumentFormat.OpenXml.Spreadsheet Namespace