Adobe Dreamweaver API Reference CS5 Uživatelský manuál Strana 510

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 533
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 509
505
DREAMWEAVER API REFERENCE
Enablers
Last updated 8/27/2013
Example
The following example calls dw.canExportTemplateDataAsXML() to determine whether Dreamweaver can export
the current document as XML and if it returns
true, calls dw.ExportTemplateDataAsXML() to export it:
if(dreamweaver.canExportTemplateDataAsXML())
{
dreamweaver.exportTemplateDataAsXML("file:///c|/dw_temps/mytemplate.txt")
}
dreamweaver.canFindNext()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Find Next operation.
Arguments
None.
Returns
A Boolean value: true if a search pattern has already been established; false otherwise.
dreamweaver.canFitSelection()
Availability
Dreamweaver 8.
Description
Checks whether there is a selection in an active Design view, which means that fitSelection() can be called.
Arguments
None.
Returns
A Boolean value: true if there is a selection in an active Design view; false otherwise.
dreamweaver.canOpenInFrame()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform an Open in Frame operation.
Zobrazit stránku 509
1 2 ... 505 506 507 508 509 510 511 512 513 514 515 ... 532 533

Komentáře k této Příručce

Žádné komentáře