Share via


PageSetup.FitToPagesTall Property

Returns or sets the number of pages tall the worksheet will be scaled to when it's printed. Applies only to worksheets.

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

Syntax

'Declaration
Property FitToPagesTall As Object
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As Object

value = instance.FitToPagesTall

instance.FitToPagesTall = value
Object FitToPagesTall { get; set; }

Property Value

Type: System.Object

Remarks

If this property is False, Microsoft Excel scales the worksheet according to the FitToPagesWide property.

If the Zoom property is True, the FitToPagesTall property is ignored.

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace