ClassHTMLExportHelper
Definition
Namespace:Telerik.WinControls.UI.Diagrams
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public static class HTMLExportHelper
Inheritance: objectHTMLExportHelper
Fields
Body
Declaration
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"
Field Value
DocumentStart
Declaration
public const string DocumentStart = "<!DOCTYPE html> \n<html xmlns=\"http://www.w3.org/1999/xhtml\"> \n"
Field Value
ExportStyleFilePath
Declaration
public const string ExportStyleFilePath = "Telerik.WinControls.UI.Resources.ExportStyles.html"
Field Value
HeadStart
Declaration
public const string HeadStart = "<head> \n<meta charset=\"UTF-8\"/><title>RadDiagram | JS</title> \n<script type=\"text/javascript\">"
Field Value
JSInteractionsFilePath
Declaration
public const string JSInteractionsFilePath = "Telerik.WinControls.UI.Resources.Loader.js"
Field Value
RadDiagramFilePath
Declaration
public const string RadDiagramFilePath = "Telerik.WinControls.UI.Resources.RadDiagram.js"
Field Value
RadSVGFilePath
Declaration
public const string RadSVGFilePath = "Telerik.WinControls.UI.Resources.RadSVG.js"
Field Value
Properties
ExecutingAssemblyName
Gets the name of the executing assembly.
Declaration
public static string ExecutingAssemblyName { get; }
Property Value
The name of the executing assembly.
Methods
CreateHTMLFile(RadDiagram, string, string)
Declaration
public static void CreateHTMLFile(RadDiagram diagram, string jsRadSVGFilePath = "Telerik.WinControls.UI.Resources.RadSVG.js", string jsRadDiagramFilePath = "Telerik.WinControls.UI.Resources.RadDiagram.js")
Parameters
diagram
jsRadSVGFilePath
jsRadDiagramFilePath
GetBitmap(Uri, string)
Gets a bitmap inside the given assembly at the given path therein.
GetBitmap(string)
Gets a bitmap in the current assembly.
GetBitmap(string, string)
Gets a bitmap inside the given assembly at the given path therein.
GetStream(Uri)
Gets the stream at the given path inside the current assembly.
GetStream(Uri, string)
Gets the stream in the given assembly at the specified path.
GetStream(string)
Gets the stream at the given path inside the current assembly.
GetStream(string, string)
Gets the stream in the given assembly at the specified path.