DocumentViewer.HorizontalPageSpacing Property

Gets or sets the horizontal space between pages.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public double HorizontalPageSpacing { get; set; }
/** @property */
public double get_HorizontalPageSpacing ()

/** @property */
public void set_HorizontalPageSpacing (double value)

public function get HorizontalPageSpacing () : double

public function set HorizontalPageSpacing (value : double)

<object HorizontalPageSpacing="double" .../>

Property Value

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

Exception typeCondition

ArgumentException

The value specified to set is negative.

Setting the HorizontalPageSpacing property adjusts the horizontal spacing between pages.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: