ai::ArtboardUtils Namespace Reference
The ArtboardUtils
object is a collection of utility functions for common operations.
More...
Detailed Description
The ArtboardUtils
object is a collection of utility functions for common operations.
Function Documentation
Tells if there is any overlap between the artboards in the artboard list.
AIErr ai::ArtboardUtils::GetActiveArtboardIndex |
( |
ArtboardID & |
index |
) |
[inline] |
Retrieves the index of the currently active artboard.
- Parameters:
-
| index | [out] A buffer in which to return the value. |
References ai::ArtboardList::GetActive().
AIErr ai::ArtboardUtils::GetActiveArtboardPosition |
( |
AIRealRect & |
rect |
) |
[inline] |
Retrieves the index of the artboard with specified name.
- Parameters:
-
| name | [in] The name of the Artboard. |
| index | [out] The artboard index . |
Retrieves the name of the specified artboard.
if the index is -1 it gets the name of the active artboard
- Parameters:
-
| name | [out] A buffer in which to return the name. |
| isDefault | [out] A bool which indicates if the name is default or not. |
| index | [in] The artboard index (-1 if active artboard). |
| name | [out] A buffer in which to return the name. |
| isDefault | [out] True if the name is the default name. |
| index | [in] The 0-based position index of the artboard, or -1 to get the active artboard. |
AIErr ai::ArtboardUtils::GetCount |
( |
ArtboardID & |
count |
) |
[inline] |
Retrieves the number of artboards defined in the artboard list of the current document.
- Parameters:
-
| count | [out] A buffer in which to return the number of artboards. |
References ai::ArtboardList::GetCount().
AIErr ai::ArtboardUtils::GetPosition |
( |
ArtboardID |
index, |
|
|
AIRealRect & |
rect | |
|
) |
| | [inline] |
AIErr ai::ArtboardUtils::SelectAllArtboards |
( |
|
) |
[inline] |