Skip to main content
Inspiring
April 10, 2014
Question

ALL the options for ExportOptionsSaveForWeb()

  • April 10, 2014
  • 1 reply
  • 1360 views

Hi,

I'm looking for all the options for ExportOptionsSaveForWeb() -

specifically on how to turn on (or off) the option "save as html".

Thanks in advance!

Jochen

This topic has been closed for replies.

1 reply

c.pfaffenbichler
Community Expert
Community Expert
April 10, 2014

For the DOM properties please refer to ESTK’s Help > Object Model Viewer.

If a feature is absent there you may have to resort to using ActionManager code (as recorded with ScriptingListener.plugin).

ZHackAuthor
Inspiring
April 10, 2014

Thanks for the help. I found the part i need (at least i think so), but how do i take this:

var idSHTM = charIDToTypeID( "SHTM" );

        desc22.putBoolean( idSHTM, true );

and make it work here ?

var options = new ExportOptionsSaveForWeb();

options.quality = 65;

options.format = SaveDocumentType.PNG;

options.transparency = true;

options.optimized = true;

Thanks again for the help!

c.pfaffenbichler
Community Expert
Community Expert
April 10, 2014

You don’t, you need to use the Action Manager code for the whole process.