Home » Development Area » DigiGuide Print Script » Function: GetOptionValue

Function: GetOptionValue


Determined by the template GetOptionValue( String optionName )

Summary

Get an option value for this template.


Remarks

Returns the value associated with the named option for this print template.

Options are not shared across print templates and are set by the user from the print popup. Print templates can have any numer of options.


Parameters

ParameterDescription
String optionName The name of for the option as specified in the template.


Returns


Examples

// Page layout options
var f_bNewPageOnDay = GetOptionValue( "New page per day" );
var f_bNewColumnOnDay = GetOptionValue( "New column per day" );
var f_bPrintColumnDate = GetOptionValue( "Print column date" );

(Last updated: September 16, 2011 10:26:32)