Adding automation to a paint application enables the user to add all the DigitalPaint toolkit capabilities and the associated user interfaces, to that application. The DigitalPaint automation coordinates the low-level DigitalPaint toolkit functions, the LEAD container functions and the LEAD toolbar functions. This facilitates the building of a paint application and removes the need to understand all the low level functionality.
The DigitalPaint automation toolkit can do the following:
Handle multiple windows simultaneously, with each window having its own transformations, regions, Undo/Redo information, etc.
Set the Undo/Redo level to virtually any value, as well as Undo or Redo the operations in every window in an MDI environment.
Select All or None of the bitmap in the current active window. In addition, the current selection can be cut, copied, pasted or deleted.
Print the bitmap in any of the application's opened windows.
The DigitalPaint automation toolbar lets the user select the needed tool and draw, while the automation handles the visual feedback needed to communicate between the painting process and the user. Mouse cursors and the basic drawing algorithms for selected tools (Line, Ellipse, Polygon, etc.) are handled by automation. The DigitalPaint tools currently available in the toolkit are:
Rounded Rectangle Shape.
Rounded Rectangular Select.
Fill using the surface fill method.
Fill using the border fill method.
Fill using the color replace method (Color Replace).
Select (region) mover.
Most of the tools above have an accompanying dialog that can be used to set the tool properties.
The user should have a good grasp of the following LEAD features before effectively using the automated DigitalPaint functionality:
Low-level DigitalPaint functionality.
Therefore, we strongly recommend that anyone wanting to use the automated DigitalPaint functionality carefully read the documentation of the modules mentioned above.
The automated DigitalPaint functionality gives the user the flexibility to create and add LEAD Containers and the LEAD Toolbar using automated functions. This offers the maximum possible creativity to the user. Please be advised that using the low-level functionality of the LEADTOOLS Container and LEADTOOLS Toolbar may occasionally create internal automation conflicts. Consequently, we recommend using the given automation interface functions with the LEADTOOLS Container and the LEADTOOLS Toolbar