GestureFormatSheet property

Microsoft Visio Developer Reference

GestureFormatSheet property

   Example   

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.

Version added

2000

Syntax

objRet = object.GestureFormatSheet

objRet

A Shape object that contains line, fill, and text formatting to be applied to shapes drawn on the page.

object

Required. An expression that returns a Document object.

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 makes changes to any shape using shape formatting commands on the menus and toolbars, but no shapes are currently selected, this formatting is stored in the gesture format sheet and applied to new shapes the user draws.