HTMLExportHelper
Class
Definition
Namespace:Telerik.WinControls.UI.Diagrams
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public static class HTMLExportHelper
Inheritance: objectHTMLExportHelper
Fields
C#
public const string Body = "<body onload=\"load()\"> \n<div id=\"surface\" style=\"height:768px; width:1024px;\"> \n</div> \n<div id=\"tooltip\" class=\"collapsed\"> \n<div style=\"margin: 6px 10px 0px 10px; font-size: smaller\"> \n<label id=\"contentLabel\"></label> \n</div> \n<div style=\"margin: 0px 10px 6px 10px\"> \n<label style=\"font-weight: 600; font-size: 12px\">X:</label> \n<label id=\"posXLabel\" style=\"margin-right: 5px; font-size: 12px\"></label> \n<label style=\"font-weight: 600; font-size: 12px\">Y:</label> \n<label id=\"posYLabel\" style=\"font-size: 12px\"></label> \n</div> \n</div> \n<p class=\"info\">Source code on <a href=\"https://github.com/telerik/diagram-html-export\" target=\"_blank\">GitHub</a> | Use CTRL-drag to pan and the mousewheel to zoom.</p></body> \n"
C#
public const string DocumentEnd = "</html> \n"
C#
public const string DocumentStart = "<!DOCTYPE html> \n<html xmlns=\"http://www.w3.org/1999/xhtml\"> \n"
C#
public const string ExportStyleFilePath = "Telerik.WinControls.UI.Resources.ExportStyles.html"
C#
public const string HeadStart = "<head> \n<meta charset=\"UTF-8\"/><title>RadDiagram | JS</title> \n<script type=\"text/javascript\">"
C#
public const string JSInteractionsFilePath = "Telerik.WinControls.UI.Resources.Loader.js"
C#
public const string RadDiagramFilePath = "Telerik.WinControls.UI.Resources.RadDiagram.js"
C#
public const string RadSVGFilePath = "Telerik.WinControls.UI.Resources.RadSVG.js"
Properties
Gets the name of the executing assembly.
C#
public static string ExecutingAssemblyName { get; }
The name of the executing assembly.
Methods
C#
public static void CreateHTMLFile(RadDiagram diagram, string jsRadSVGFilePath = "Telerik.WinControls.UI.Resources.RadSVG.js", string jsRadDiagramFilePath = "Telerik.WinControls.UI.Resources.RadDiagram.js")