Thanks to your reply! Yes! This is my part of code - TPK: Below var currLinecont = xmlElements.lines; var currLinecontLen = currLinecont.length; //current line connt //Here with creating for text frames as per current line width and hight var currLineLeading = parseFloat(xmlElements.texts[0].leading); //Here geting with current text leading sapce. var x1currLineHor = parseFloat(xmlElements.texts[0].horizontalOffset); //Here geting with current text left to right sapce. var y2currLineBase = parseFloat(xmlElements.texts[0].baseline); //Here geting with current text baseline sapce. var x2currLineEndHor = parseFloat(xmlElements.texts[0].endHorizontalOffset); //Here geting with current text right to left sapce. var y1currLine = parseFloat(y2currLineBase-currLineLeading); var currLineTxFrm, currLineTxFrmY1; //Start single line text frame creat. if(currLinecontLen == 1){ currLineTxFrm = myDoc.pages.itemByName(currLinePageName).textFrames.add({geometricBounds: [y1currLine, x1currLineHor, y2currLineBase, x2currLineEndHor]}); colrName = rValue+'-'+gValue+'-'+bValue; //Here with create color nameing. MakeColor(colrName, ColorSpace.RGB, ColorModel.process, [rValue, gValue, bValue], colorCMYK); currLineTxFrm.fillColor = colrName; //applied for text color. //************** I Need help here ************************** } Thanks KS
... View more