Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DocumentViewer.VerticalPageSpacing Property

 

Gets or sets the vertical spacing between displayed pages.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public double VerticalPageSpacing { get; set; }

Property Value

Type: System.Double

The vertical space between displayed pages in device independent pixels. The default is 10.0.

Setting the VerticalPageSpacing property adjusts the vertical spacing between pages to the specified value.

The VerticalPageSpacing value must be non-negative. Setting this property to a negative value will raise an ArgumentException exception.

When setting this property in XAML, you cannot use the unit qualifiers (such as in or cm) that are enabled for many other "Height" or "Vertical" properties.

Identifier field

VerticalPageSpacingProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft