Adobe 38040334 API Reference - Page 355
argument, which is required, is a string that contains the hexadecimal value that indicates the RGB
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 355 highlights
DREAMWEAVER CS3 350 API Reference Example The following example gets the background colors used by the Layout Block Backgrounds visual aid: var backgroundColors = dreamweaver.getDivBackgroundColors(); dreamweaver.setBlockVisOutlineProperties() Availability Dreamweaver 8. Description This function sets the outline properties for the block visualization visual aids. Arguments forWhat, color, width, {style} • The forWhat argument, which is required, is a string that specifies for what the specified color and width are used. Possible values are "divs", "selectedDiv", or "layers". If the value is "layers", the specified color and width are used to outline all layers when the Layout Block Outlines visual aid is on. If the value is "divs", the color and width arguments are used to outline all divs and other layout blocks. If the value is "selectedDiv", the color and width arguments are used to outline any div or layout block that is selected. • The color argument, which is required, is a string that contains the hexadecimal value that indicates the RGB color in the form #RRGGBB. • The width argument, which is required, is an integer that indicates the outline width, in pixels. • The style argument, which is optional, is a string that indicates the style of the outline. Possible values are "SOLID", "DOTTED", "DASHED", and "OUTSET". The "OUTSET" value is applicable to layers only. This argument is ignored when the forWhat argument's value is "selectedDiv". Returns Nothing. Example See "dreamweaver.getBlockVisOutlineProperties()" on page 349. dreamweaver.setDivBackgroundColors() Availability Dreamweaver 8. Description This function sets the colors used by the Layout Block Backgrounds visual aid. Arguments colors • The colors argument, which is required, is an array of strings that contains all the colors, represented as hexadecimal values in the form #RRGGBB. The array must contain 16 colors.
![](/manual_guide/products/adobe-38040334-api-reference-b593776/355.png)