Professional Documents
Culture Documents
Solutions 24
Solutions 24
Solution
Use ISpread::QueryLayer to get the spread layers associated with a document layer.
Sample code
SnpInspectLayoutModel
In the “Layout Fundamentals” chapter of Adobe InDesign Programming Guide, see the example entitled
“Code that Iterates through Spreads in a Document, then Iterates through Document Layers, to visit
Items on the Spread Layer associated with each Document Layer.”
Related APIs
ILayerList
ISpread
kDocumentLayer
kSpreadLayer
Use kMoveLayerCmdBoss.
Related APIs
kDocumentLayer
kSpreadLayer
Copying a layer
Solution
To append the duplicated layer to the end of the layer list (ILayerList) in the target document, use
kCreateLayerFromLayerCmdBoss.
To position the duplicate at a position of choice in the layer list (ILayerList), use the following: