ShowMargins Property

ShowMargins shows or hides the rectangle representation of the margin settings in the plot window. It has a Boolean value. If this value is 'True', the margin settings are shown. If the value is 'False', the margin settings rectangle is hidden.

Syntax

object.ShowMargins

object. ShowMargins = Show

Parameter

Type

Description

Show

Boolean

required

Example 1

This example demonstrates how to return whether or not the margins of a plot are displayed.

Debug.Print PlotWindow.ShowMargins

Example 2

This example demonstrates how to display the margins of a plot.

PlotWindow.ShowMargins = True

Example 3

This script displays all the methods and properties in the PlotWindow object.

Used by: PlotWindow object