A newer version of this page is available. Switch to the current version.

DocumentViewerBase.ShowPageMargins Property

Specifies whether or not the DocumentViewer shows page margin lines.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v18.2.dll

Declaration

[DXCategory("Printing")]
[DefaultValue(true)]
public bool ShowPageMargins { get; set; }
<DXCategory("Printing")>
<DefaultValue(True)>
Public Property ShowPageMargins As Boolean

Property Value

Type Default Description
Boolean

true

true to show page margin lines; otherwise false.

Remarks

The page margin lines are the dotted lines shown on the currently selected page.

Use this property to change the visibility of these lines in a Document Viewer and prevent them from being altered via the mouse.

See Also