Document.GestureFormatSheet Property

Visio Automation Reference

Returns a reference to a document's Gesture Format sheet, which contains the line, fill, and text formatting that is applied to shapes drawn on the page. Read-only.

Version Information
 Version Added:  Visio 2002

Syntax

expression.GestureFormatSheet

expression   A variable that represents a Document object.

Return Value
Shape

Remarks

By default, a new shape inherits all its formatting from the document's default styles. However, if the Gesture Format sheet contains local formatting, that formatting is applied to the new shape. Use the FillStyle, LineStyle, and TextStyle properties to apply local formatting to the Gesture Format Shape object.

Gesture Format sheet formatting does not apply to instances of masters, connectors, pasted objects, or embedded objects.

A document's Gesture Format sheet is cleared automatically when a document is opened.

If a user attempts to use formatting commands on the menus and toolbars to make changes to any shape, but no shapes are currently selected, this formatting is stored in the gesture format sheet and applied to new shapes the user draws.

See Also