Code: Select all
newlayerid = InsertLayer(0, #BRUSH, 1, 1, 1)
t = GetLayerStyle(layertobecopiedID)
SetLayerStyle(newlayerid, t)
Code: Select all
newlayerid = InsertLayer(0, #BRUSH, 1, 1, 1)
t = GetLayerStyle(layertobecopiedID)
SetLayerStyle(newlayerid, t)
Code: Select all
- New: Added CopyLayer() command which can be used to make an identical copy of an existing layer; all
layer attributes are cloned except the layer name (if present) because that must be unique; a new name
for the layer can be passed in the optional table argument