T O P I C R E V I E W |
murod |
Posted - Feb 03 2012 : 19:52:52 how to rename layers and save them by seted name??? |
4 L A T E S T R E P L I E S (Newest First) |
murod |
Posted - Feb 04 2012 : 04:55:17 Thanks you very much... it works perfect...!!!! |
fab |
Posted - Feb 04 2012 : 04:20:12 ImageEn stores layer name in ImageEnView.Layers[].Name, so you can change the name with:
// change name of layer 0 ImageEnView.Layers[0].Name := 'new name';
Finally you can save to PSD:
ImageEnView.IO.SaveToFile('output.psd'); |
murod |
Posted - Feb 04 2012 : 03:48:06 thank you very much... but i want to rename many layers (as in Photoshop) added in ImageEnview and ImageEnMview and save all layers ... |
xequte |
Posted - Feb 04 2012 : 01:30:13 Hi
You can rename objects as follows:
// Rename the object I just added ImageEnVect1.ObjName[-2] := 'My Object';
This name is saved with the layers.
You can use the name to find the index of an object too:
iIndex := ImageEnVect1.GetObjFromName('My Object');
Nigel Xequte Software www.xequte.com nigel@xequte.com
|