DocumentViewer.HorizontalPageSpacing Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET