MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Dokumentacja Strona 511

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 692
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 510
511
Layout environment functions
Layout environment functions handle operations that are related to the settings for working on a
document. They affect the source, position, and opacity of the tracing image; get and set the ruler
origin and units; turn the grid on and off and change its settings; and start or stop playing plug-
ins.
dom.getRulerOrigin()
Availability
Dreamweaver 3
Description
Gets the origin of the ruler.
Arguments
None.
Returns
An array of two integers. The first array item is the x coordinate of the origin, and the second
array item is the y coordinate of the origin. Both values are in pixels.
dom.getRulerUnits()
Availability
Dreamweaver 3
Description
Gets the current ruler units.
Arguments
None.
Returns
A string that contains one of the following values:
"in"
"cm"
"px"
dom.getTracingImageOpacity()
Availability
Dreamweaver 3
Description
Gets the opacity setting for the documents tracing image.
Arguments
None.
Returns
A value between 0 and 100, or nothing if no opacity is set.
Przeglądanie stron 510
1 2 ... 506 507 508 509 510 511 512 513 514 515 516 ... 691 692

Komentarze do niniejszej Instrukcji

Brak uwag