520
Code
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
fontTypes
argument is a string that contains either
"all"
or
"TrueType"
.
Returns
An array of strings that contain all the font names; returns a value of
null
if no fonts are
found.
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
argument is
true
or
false
. If this argument is set to
true
, in
Windows, the
dreamweaver.PrintCode()
function displays the Print dialog box to ask if
the user wants to print all text or selected text. On the Macintosh, the
dreamweaver.PrintCode()
function displays the Print dialog box to ask if the user wants
to print all text or a page range.
If the argument is set to
false
,
dreamweaver.PrintCode()
uses the user’s previous
selection. The default value is
true
.
000_DW_API_Print.book Page 520 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...