Table of contents
TOC
Collapse the table of content
Expand the table of content

IVBUndoUnit.UnitSize Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns the size of the undo unit in memory, in bytes. Read-only.

Syntax

expression . UnitSize

expression A variable that represents a IVBUndoUnit object.

Return Value

Long

Remarks

If you are creating an undo unit for your solution, the UnitSize property is one of the members of IVBUndoUnit that you must implement. The Visio engine may use the memory size returned by the UnitSize property to decide whether to clear the undo queue.

The UnitSize value is optional, and you can set the value to zero (0) when you implement the property.

For more information about the UnitSize property and using the IVBUndoUnit interface to create undo units, search for "Creating Undo Units" on MSDN, the Microsoft Developer Network.

© 2018 Microsoft