Adobe.com
Contents Suites Classes Class Index Member Index

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.

Public Attributes

AIAPI AIErr(* GetGridSettings )(AIGridSettings *settings)
 Retrieves the grid settings for the current document.
AIAPI AIErr(* SetGridSettings )(AIGridSettings *settings)
 Sets the grid settings for the current document.
AIAPI AIErr(* EnumGridLines )(AIDocumentViewHandle view, AIRealRect *rect, AIGridLineProc proc, void *data)
 Enumerates the grid lines that intersect a specified rectangle to the callback function that you provide.
AIAPI AIErr(* EnumPageLines )(AIDocumentViewHandle view, AIRealRect *rect, AIPageLineProc proc, void *data)
 Enumerates the page tile lines that intersect a specified rectangle to the callback function that you provide.
AIAPI AIBoolean(* IsVisible )(AIDocumentViewHandle view)
 Reports whether the grid is visible in a document view.
AIAPI AIBoolean(* IsSnapOn )(AIDocumentViewHandle view)
 Reports whether snap-to-grid is turned on in a document view.

Detailed Description

This suite allows you to access the grid settings for the current document.


Member Data Documentation

AIAPI AIErr(* AIGridSuite::EnumGridLines)(AIDocumentViewHandle view, AIRealRect *rect, AIGridLineProc proc, void *data)

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.
AIAPI AIErr(* AIGridSuite::EnumPageLines)(AIDocumentViewHandle view, AIRealRect *rect, AIPageLineProc proc, void *data)

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:
view The document view.
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:
view The document view.
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:


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2014 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks