A SERVICE OF

logo

MediaScript Objects and Methods 155
Parameters
This function takes only a text string, which must be enclosed in quotation marks.
setTextType()
Sets the text type associated with this object. (must be one of the defines above).
Syntax
var strObject = TextResponse(
<textType>
);
Parameters
textType - specifies the text type using one of the following predefined values:
TypePlain - saves text as a plain text file with extension .txt.
TypeHtml - saves text as an HTML file with extension .html.
TypeXml - saves text as an XML file with extension .xml.
ICC Profile Object
Dynamic enumeration of color profiles is provided by the IccProfile link library. The library
allows clients to list profiles by colorspace and class or to query a specific icc profile.
static function list(colorspace, class)
Static method of the IccProfile class that returns an array of icc profile files corresponding
to the specified colorspace and class.
The colorspace argument must be one or more of the following predefined constants,
bitwise OR-ed (|) together:
IccProfile.RGB
IccProfile.CMYK
IccProfile.LAB
IccProfile.XYZ
IccProfile.GRAY
IccProfile.ALPHA
IccProfile.PALETTE
IccProfile.HLS
IccProfile.HSV
The class argument must be one or more of the following predefined constants, bitwise OR-
ed (|) together:
IccProfile.MONITOR
IccProfile.SCANNER
IccProfile.PRINTER