property ExPrint.ShowMargins as Boolean
Retrieves or sets a value that specifies whether the page displays its margins so the user can resize the margins of the page at runtime.

TypeDescription
Boolean A boolean expression that specifies whether the margins of the page are shown so the user can resize the page's margins at runtime.
By default, the ShowMargins property is True, and so the page's margins are shown. The value of the page's margin is being shown when the cursor hovers it. User can click and resize the page margins at runtime as shown in the following screen shot. Use the Settings property to access settings from the printer's page, as exLeftMargin, exTopMargin, exRightMargin and exBottomMargin. Use the exDisplayInch setting to specify whether the control displays inches or millimeters. The Refresh event notifies your application once the preview/print job is being executed again.

The page margins are shown only if

The ItemToolTip property specifies the tooltip being shown when the cursor hovers the page's margins as shown in the following screen shot: