Jump to content

FusionPro.Composition.JobOptions


sdavenport

Recommended Posts

You call them the same way you would call the properties (members) of any other object, with either "dot" or "bracket" notation:

https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Operators/Member_Operators

 

For example:

return FusionPro.Composition.JobOptions.OutputFormat;

Or:

return FusionPro.Composition.JobOptions["OutputFormat"];

You could also iterate all the properties like so:

var result = "";
for (var i in FusionPro.Composition.JobOptions)
    result += i + ": " + FusionPro.Composition.JobOptions[i] + "\n";
return result;

https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Statements/for...in

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...