Adobe 65011817 - Fireworks CS4 - Mac Extended User Manual page 201

Extending guide
Hide thumbs Also See for 65011817 - Fireworks CS4 - Mac:
Table of Contents

Advertisement

Last updated 12/8/2009
fw.createFireworksDocument()
Availability
Fireworks 3.
Usage
fw.createFireworksDocument(size, res, backgroundColor)
Arguments
A point whose x value specifies the document's width and whose y value specifies the document's height. Both
size
values are in pixels.
Specifies the resolution for the scaled document (see
res
A color string (see
backgroundColor
Returns
The Document object for the newly created document (see
Description
Opens a new document and selects it. Values for size, resolution, and color are explicitly specified. To open a new
document with the current default values, use
Example
The following command creates a new document that is 500 by 500 pixels in size, with a resolution of 72 dpi and a solid
white background color:
fw.createFireworksDocument({x:500,y:500},{pixelsPerUnit:72,units:"inch"}, "#ffffff");
See also
fw.createDocument()
fw.currentWorkspaceName()
Availability
Fireworks 10.
Usage
fw.currentWorkspaceName()
Arguments
None.
Returns
The name of the current workspace layout.
Description
Returns the name of the current workspace layout.
"Resolution data
"Color string data
type" on page 7).
"The Document
fw.createDocument()
EXTENDING FIREWORKS
type" on page 8).
object" on page 27).
.
197
The Fireworks Object

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs4

Table of Contents