แก้ไข

แชร์ผ่าน


DocumentViewer.VerticalPageSpacing Property

Definition

Gets or sets the vertical spacing between displayed pages.

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

Property Value

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

Remarks

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.

Dependency Property Information

Identifier field VerticalPageSpacingProperty
Metadata properties set to true None

Applies to

See also