View Full Version : FusionPro.Composition.JobOptions

December 17th, 2009, 10:38 AM
How do you call the properties of: FusionPro.Composition.JobOptions?

CompositionProperties.JobOptions =
description: "An object with properties for all the CFG file settings for the job.",
syntax: "FusionPro.Composition.JobOptions"

Dan Korn
December 17th, 2009, 11:47 AM
You call them the same way you would call the properties (members) of any other object, with either "dot" or "bracket" notation:

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