Class HTMLExportHelper
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public static class HTMLExportHelper
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
System.String
|
DocumentEnd
Declaration
public const string DocumentEnd = "</html> \n"
Field Value
System.String
|
DocumentStart
Declaration
public const string DocumentStart = "<!DOCTYPE html> \n<html xmlns=\"http://www.w3.org/1999/xhtml\"> \n"
Field Value
System.String
|
ExportStyleFilePath
Declaration
public const string ExportStyleFilePath = "Telerik.WinControls.UI.Resources.ExportStyles.html"
Field Value
System.String
|
HeadEnd
Declaration
public const string HeadEnd = "</head> \n"
Field Value
System.String
|
HeadStart
Declaration
public const string HeadStart = "<head> \n<meta charset=\"UTF-8\"/><title>RadDiagram | JS</title> \n<script type=\"text/javascript\">"
Field Value
System.String
|
JSInteractionsFilePath
Declaration
public const string JSInteractionsFilePath = "Telerik.WinControls.UI.Resources.Loader.js"
Field Value
System.String
|
RadDiagramFilePath
Declaration
public const string RadDiagramFilePath = "Telerik.WinControls.UI.Resources.RadDiagram.js"
Field Value
System.String
|
RadSVGFilePath
Declaration
public const string RadSVGFilePath = "Telerik.WinControls.UI.Resources.RadSVG.js"
Field Value
System.String
|
ScriptEnd
Declaration
public const string ScriptEnd = "</script> \n"
Field Value
System.String
|
Properties
ExecutingAssemblyName
Gets the name of the executing assembly.
Declaration
public static string ExecutingAssemblyName { get; }
Property Value
System.String
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
RadDiagram
diagram
|
System.String
jsRadSVGFilePath
|
System.String
jsRadDiagramFilePath
|
GetBitmap(String)
Gets a bitmap in the current assembly.
Declaration
public static Bitmap GetBitmap(string relativePath)
Parameters
System.String
relativePath
|
Returns
System.Drawing.Bitmap
|
GetBitmap(String, String)
Gets a bitmap inside the given assembly at the given path therein.
Declaration
public static Bitmap GetBitmap(string relativeUri, string assemblyName)
Parameters
System.String
relativeUri
The relative URI. |
System.String
assemblyName
Name of the assembly. |
Returns
System.Drawing.Bitmap
|
GetBitmap(Uri, String)
Gets a bitmap inside the given assembly at the given path therein.
Declaration
public static Bitmap GetBitmap(Uri uri, string assemblyName)
Parameters
System.Uri
uri
The relative URI. |
System.String
assemblyName
Name of the assembly. |
Returns
System.Drawing.Bitmap
|
GetStream(String)
Gets the stream at the given path inside the current assembly.
Declaration
public static Stream GetStream(string relativeUri)
Parameters
System.String
relativeUri
The relative URI. |
Returns
System.IO.Stream
|
GetStream(String, String)
Gets the stream in the given assembly at the specified path.
Declaration
public static Stream GetStream(string relativeUri, string assemblyName)
Parameters
System.String
relativeUri
The relative URI. |
System.String
assemblyName
Name of the assembly. |
Returns
System.IO.Stream
|
GetStream(Uri)
Gets the stream at the given path inside the current assembly.
Declaration
public static Stream GetStream(Uri uri)
Parameters
System.Uri
uri
The relative URI. |
Returns
System.IO.Stream
|
GetStream(Uri, String)
Gets the stream in the given assembly at the specified path.
Declaration
public static Stream GetStream(Uri uri, string assemblyName)
Parameters
System.Uri
uri
The relative URI. |
System.String
assemblyName
Name of the assembly. |
Returns
System.IO.Stream
|