Bewerken

Share via


DocumentViewer.HorizontalPageSpacing Property

Definition

Gets or sets the horizontal space between pages.

public:
 property double HorizontalPageSpacing { double get(); void set(double value); };
public double HorizontalPageSpacing { get; set; }
member this.HorizontalPageSpacing : double with get, set
Public Property HorizontalPageSpacing As Double

Property Value

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

Exceptions

The value specified to set is negative.

Remarks

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.

Dependency Property Information

Identifier field HorizontalPageSpacingProperty
Metadata properties set to true None

Applies to

See also