Professional Documents
Culture Documents
Solutions 23
Solutions 23
layer. This is useful if you want to parent page items created by your plug-in on the same layer the user is
editing.
Sample code
SDKLayoutHelper::GetActiveSpreadLayerRef
SnpInspectLayoutModel
Related API
kSpreadLayer
Creating a layer
Solution
Use kNewLayerCmdBoss.
Sample code
SnpProcessDocumentLayerCmds::CreateNewLayer
Related APIs
kDocumentLayer
kSpreadLayer
Deleting a layer
You can delete a layer and its associated content.
Solution
Use kDeleteLayerCmdBoss.
Related APIs
kDocumentLayer
kSpreadLayer