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