Adobe Dreamweaver API Reference CS5 Bedienungsanleitung Seite 426

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 533
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 425
421
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
Example
The following example gets the value of the scale of current view. It also zooms in if it can and if the scale is less than
or equal to 100%:
if (canZoom() && dreamweaver.activeViewScale <= 1.0) {
zoomIn();
}
The following example sets the value of the scale of current view to 50%:
dreamweaver.activeViewScale = 0.50;
dreamweaver.fitAll()
Availability
Dreamweaver 8.
Description
This function zooms in or out so that the entire document fits in the currently visible portion of the Design view.
Arguments
None.
Returns
Nothing.
Enabler
See “dreamweaver.canZoom()” on page 510.
Example
if (canZoom()){
fitAll();
}
dreamweaver.fitSelection()
Availability
Dreamweaver 8.
Description
This function zooms in or out so that the current selection fits in the currently visible portion of the Design view.
Arguments
None.
Returns
Nothing.
Seitenansicht 425
1 2 ... 421 422 423 424 425 426 427 428 429 430 431 ... 532 533

Kommentare zu diesen Handbüchern

Keine Kommentare