AIGridSuite Struct Reference
[API Suite List]
This suite allows you to access the grid settings for the current document.
More...
#include <AIGrid.h>
List of all members.
Detailed Description
This suite allows you to access the grid settings for the current document.
Member Data Documentation
Enumerates the grid lines that intersect a specified rectangle to the callback function that you provide.
- Parameters:
-
| view | The document view. |
| rect | A pointer to the rectangle of interest. |
| proc | The callback procedure you have defined. |
| data | Developer-defined data that is passed through to the callback. |
Enumerates the page tile lines that intersect a specified rectangle to the callback function that you provide.
- Parameters:
-
| view | The document view. |
| rect | A pointer to the rectangle of interest. |
| proc | The callback procedure you have defined. |
| data | Developer-defined data that is passed through to the callback. |
Retrieves the grid settings for the current document.
- Parameters:
-
| settings | [out] A buffer in which to return the settings. |
Reports whether snap-to-grid is turned on in a document view.
(Note that this function returns a boolean value, not an error code.)
- Parameters:
-
- Returns:
- True if snap-to-grid is on.
Reports whether the grid is visible in a document view.
(Note that this function returns a boolean value, not an error code.)
- Parameters:
-
- Returns:
- True if the grid is visible.
Sets the grid settings for the current document.
- Parameters:
-
| settings | A pointer to a structure that you have filled with the new settings.. |
The documentation for this struct was generated from the following file: