Print Function - Adobe 38040334 - Dreamweaver CS3 User Manual

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Arguments
url
• The
argument points to a graphical object for which the dimensions are wanted. Dreamweaver must support
url
this object (GIF, JPEG, PNG, Flash, and Shockwave). The URL that is provided as the argument to the
function must be an absolute URL that points to a local file; it cannot be a relative URL.
ralSize()
Returns
An array of two integers where the first integer defines the width of the object, and the second defines the height.
dreamweaver.getSystemFontList()
Availability
Dreamweaver 4.
Description
Returns a list of fonts for the system. This function can get either all fonts or only TrueType fonts. These fonts are
needed for the Flash Text object.
Arguments
fontTypes
• The
argument is a string that contains either
fontTypes
Returns
An array of strings that contain all the font names; returns a value of

Print function

The print function lets the user print code from Code view.
dreamweaver.printCode()
Availability
Dreamweaver MX.
Description
In Windows, this function prints all or selected portions of code from the Code view. On the Macintosh, it prints all
code or a page range of code.
Arguments
showPrintDialog, document
• The
showPrintDialog
weaver.PrintCode()
text. On the Macintosh, the
wants to print all text or a page range.
argument is
or
true
false
function displays the Print dialog box to ask if the user wants to print all text or selected
dreamweaver.PrintCode()
or
"all"
"TrueType"
if no fonts are found.
null
. If this argument is set to
function displays the Print dialog box to ask if the user
DREAMWEAVER CS3
getNatu-
.
, in Windows, the
true
dream-
412
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents