Copy link to clipboard
Copied
Dear Friend,
How to select "Effects >> multiply" setting in javascript? I have place the screenshot below;
please suggest friends,
Thanks in Advance
KS
Try this:
currLineTxFrm.transparencySettings.blendingSettings.blendMode = BlendMode.MULTIPLY;
Copy link to clipboard
Copied
Dear Friends,
Sorry! one point is missing. Please see below;
I need to applied for text frames only in the above options.
Thanks
Ks
Copy link to clipboard
Copied
Did you tried anything?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Try this:
currLineTxFrm.transparencySettings.blendingSettings.blendMode = BlendMode.MULTIPLY;
Copy link to clipboard
Copied
Hi kasyan,
Thanks lot!
Your coding working good
Thanks
KS