Iterating canvas selections
MCanvasSelection has a CreateIterator function that returns a read and write instance of a TCanvasSelectionIterator to iterate over the canvas selection unidirectionally. The TCanvasSelectionIterator First and Next functions return a pointer to MCanvasGraphic. A selection is an unordered set, which makes iteration order meaningless.
virtual TCanvasSelectionIterator* CreateIterator();
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker