Adobe Dreamweaver API Reference CS5 User Manual Page 510

  • Download
  • Add to my manuals
  • Print
  • Page
    / 533
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 509
1 2 ... 505 506 507 508 509 510 511 512 513 514 515 ... 532 533

Comments to this Manuals

No comments