Main page /  Useful info about ShapeSheet™  / Visio ShapeSheet reference / ShapeSheet™. List of functions by category

ShapeSheet. Category Shape Properties

Note

This table contain functions which included in table for similar category in the book MS Visio 2003 Developer’s Survival Pack by Graham Wideman (see chapter 37) and also functions added in later versions.

The version information in which the function was added is taken from John's Goldsmith article Visio ShapeSheet Functions by Version


Name

Details

DATA1

Version Added: Pre 2003

Returns the text from the Data 1 box in the Shape Name dialog box for a shape (on the Developer tab, click Shape Name), as a string.

Syntax

DATA1 ()

Read more about function DATA1

DATA2

Version Added: Pre 2003

Returns the text from the Data 2 box in the Shape Name dialog box for a shape (on the Developer tab, click Shape Name), as a string.

Syntax

DATA2 ()

Read more about function DATA2

DATA3

Version Added: Pre 2003

Returns the text from the Data 3 box in the Shape Name dialog box for a shape (on the Developer tab, click Shape Name), as a string.

Syntax

DATA3 ()

Read more about function DATA3

HASCATEGORY

Version Added: 2010

Returns TRUE if the specified string is found in the shape's category list.

Syntax

HASCATEGORY(category)

Read more about function HASCATEGORY

ID

Version Added: Pre 2003

Returns a shape's internal ID as a number.

Syntax

ID ()

Read more about function ID

IS1D

Version Added: 2010

Returns TRUE if the shape is 1-D (one-dimensional); returns FALSE if the shape is 2-D (two-dimensional).

Syntax

IS1D()

Read more about function IS1D

MASTERNAME

Version Added: Pre 2003

Returns a sheet's master name as a string, or returns the string ""<no master>"" if the sheet doesn't have a master.

Syntax

MASTERNAME ([langID_opt])

Read more about function MASTERNAME

NAME

Version Added: Pre 2003

Returns a sheet's name as a string.

Syntax

NAME (langID_opt)

Read more about function NAME

SHEETREF

Version Added: 2010

Returns a reference to the sheet (shape) that is specified in sheetref, or, if there is no sheetref qualifier, to the current sheet.

Syntax

!SHEETREF()

Read more about function SHEETREF

SHAPETEXT

Version Added: Pre 2003

Gets the text from a shape.

Syntax

SHAPETEXT (shapename!TheText[,flag])

Read more about function SHAPETEXT

TEXTHEIGHT

Version Added: Pre 2003

Returns the height of the composed text in a shape where no text line exceeds maximumwidth.

Syntax

TEXTHEIGHT(shapename!TheText[,maximumwidth])

Read more about function TEXTHEIGHT

TEXTWIDTH

Version Added: Pre 2003

Returns the width of the composed text in a shape.

Syntax

TEXTWIDTH(shapename!TheText[,maximumwidth])

Read more about function TEXTWIDTH