Adobe 38040334 API Reference - Page 417
Print function, dreamweaver.getSystemFontList, dreamweaver.printCode
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 417 highlights
DREAMWEAVER CS3 412 API Reference Arguments url • The url argument points to a graphical object for which the dimensions are wanted. Dreamweaver must support this object (GIF, JPEG, PNG, Flash, and Shockwave). The URL that is provided as the argument to the getNaturalSize() function must be an absolute URL that points to a local file; it cannot be a relative URL. 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 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.