APICommon APIExport methodsOn this pageExport methods overview The API methods of the diagram.export object allow you to export data from the Diagram or Diagram Editor. Methods NameDescriptionpdf()Exports a diagram to a PDF filepng()Exports a diagram to a PNG file