What is "flattener preview part" ?
Thanks for replying.
The flattener preview is located under "Print Production" panel. Where one can configure the text flattening options, among many other settings.
Please suggest any sample code.
Thanks and regards.
This can't be done directly with JS. The closest thing to it is to execute
a Preflight profile that does that.
Why are you converting the text to outlines?
Adobe strongly advise against converting text to outlines, and it is certainly not guaranteed that the transparency flattener will do that; it is NOT what it is for, it just sometimes needs to.