![]() |
Visio 2002 Developer's Survival Pack Tools and Samples |
Chapter 27: Common Techniques | |
![]() ![]() |
Folder | Description |
Undo | Sample VBA code that exercises the Undo functionality in various ways. See book for details |
VisioVersion | Figures out Visio's version number. Open the VBA window and try the TestGetVersion procedure. |
VisXData | Sample Delphi application showing how to employ the VisXData structured storage widget supplied with Visio (and used by various Visio solutions). See details below. |
BitmapExport | (2001-07-04: To be completed -- sorry for delay) |
BitmapResolution | (2001-07-04: To be completed -- sorry for delay) |
BitmapSaveAsWeb | (2001-07-04: To be completed -- sorry for delay) |
BitmapSwappable | Sample document contains shape with right-click menu items to swap the contained image. VBA code shows how this simple effect can be achieved. |
Installation: none required.
Operation
While this demo employs strings (which could just as well be saved in ShapeSheet cells), VisXData's streams can accept streams of bytes,and are thus amenable to all kinds of structured storage and object serialization strategies.
Viewing the Sample Code
If you have Borland Delphi, then obviously that's the optimum way to view the sample code. Otherwise, you can view the source files in a text editor. The file of most interest is VisXData_fm_Main.pas.
Article Created: 2001-06-01 Last edit: Last edit: 01-07-05 Graham Wideman
Go to: DiagramAntics.com