ImageGear Professional v18.2 > User Guide > Using ImageGear > Using ImageGear ARTX Component > Working with ART Marks > Creating a Mark via the ToolBar |
End users can create a mark using the ART toolbar, or your application can create them directly by calling ART functions. This section describes how to create marks with user interaction through the ART toolbar.
When a button is selected from the toolbar, ART goes into "edit mode", where the mouse is used to place and size the mark. The sequence of events depends on whether the mark is one of the types that contains text or not:
If the mark does not contain text:
If the mark contains text:
ART ToolBar event handlers are implemented in the ART GUI open source code and can be modified at any time and any way, but in order for them to work, your application need to interact with the following events:
Copy Code
|
|
---|---|
Sub MouseDown (pIDrawParams As IGArtXDrawParams, nMessage As Long, pPoint As IGPoint) Sub MouseMove (pIDrawParams As IGArtXDrawParams, nMessage As Long, pPoint As IGPoint) Sub MouseUp (pIDrawParams As IGArtXDrawParams, nMessage As Long, pPoint As IGPoint) |