![]() | InDesign SDK 20.5 |
Public Member Functions | |
| virtual | ~SnpInspectLayoutGrid () |
| ErrorCode | InspectPages (const UIDList &pages) |
| ErrorCode | InspectLayoutGrid (const UIDRef &thePage, SnpLayoutGridInfo &info) |
| void | ReportLayoutGridInfo (const SnpLayoutGridInfo &info, const int32 pageIndex=-1) |
| UIDRef | GetFirstSelectedPage (IActiveContext *activeContext) |
| inlinevirtual |
Destructor.
| UIDRef SnpInspectLayoutGrid::GetFirstSelectedPage | ( | IActiveContext * | activeContext | ) |
Gets the first visible and selected page.
| activeContext | IN The current active context. |
| ErrorCode SnpInspectLayoutGrid::InspectLayoutGrid | ( | const UIDRef & | thePage, |
| SnpLayoutGridInfo & | info | ||
| ) |
Shows how to inspect all information related to a layout grid on a given page.
| thePage | UIDRef of the page to inspect. |
| info | (return) Information structure with layout grid info. |
| ErrorCode SnpInspectLayoutGrid::InspectPages | ( | const UIDList & | pages | ) |
Shows how to inspect pages in a document
| void SnpInspectLayoutGrid::ReportLayoutGridInfo | ( | const SnpLayoutGridInfo & | info, |
| const int32 | pageIndex = -1 | ||
| ) |
Report layout grid info to SNIPLOG.
| info | Information structure returned from InspectLayoutGrid(). |
| pageIndex | Index from the list of pages. In the snip log, the index of the page in the page list passed into InspectPages will be displayed. -1 means don't care, and a different title gets displayed in the SNIPLOG. |