DocumentViewer.HorizontalPageSpacing Property

 

Gets or sets the horizontal space between pages.

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

member HorizontalPageSpacing : float with get, set

Property Value

Type: System.Double

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

Exception Condition
ArgumentException

The value specified to set is negative.

Setting the HorizontalPageSpacing property adjusts the horizontal spacing between pages.

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

Identifier field

HorizontalPageSpacingProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: