Class
HTMLExportHelper

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

cs-api-definition
public static class HTMLExportHelper

Inheritance: objectHTMLExportHelper

Fields

Body

Declaration

cs-api-definition
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>  &nbsp;|&nbsp;  Use CTRL-drag to pan and the mousewheel to zoom.</p></body> \n"

Field Value

string

DocumentEnd

Declaration

cs-api-definition
public const string DocumentEnd = "</html> \n"

Field Value

string

DocumentStart

Declaration

cs-api-definition
public const string DocumentStart = "<!DOCTYPE html> \n<html xmlns=\"http://www.w3.org/1999/xhtml\"> \n"

Field Value

string

ExportStyleFilePath

Declaration

cs-api-definition
public const string ExportStyleFilePath = "Telerik.WinControls.UI.Resources.ExportStyles.html"

Field Value

string

HeadEnd

Declaration

cs-api-definition
public const string HeadEnd = "</head> \n"

Field Value

string

HeadStart

Declaration

cs-api-definition
public const string HeadStart = "<head> \n<meta charset=\"UTF-8\"/><title>RadDiagram | JS</title> \n<script type=\"text/javascript\">"

Field Value

string

JSInteractionsFilePath

Declaration

cs-api-definition
public const string JSInteractionsFilePath = "Telerik.WinControls.UI.Resources.Loader.js"

Field Value

string

RadDiagramFilePath

Declaration

cs-api-definition
public const string RadDiagramFilePath = "Telerik.WinControls.UI.Resources.RadDiagram.js"

Field Value

string

RadSVGFilePath

Declaration

cs-api-definition
public const string RadSVGFilePath = "Telerik.WinControls.UI.Resources.RadSVG.js"

Field Value

string

ScriptEnd

Declaration

cs-api-definition
public const string ScriptEnd = "</script> \n"

Field Value

string

Properties

ExecutingAssemblyName

Gets the name of the executing assembly.

Declaration

cs-api-definition
public static string ExecutingAssemblyName { get; }

Property Value

string

The name of the executing assembly.

Methods

CreateHTMLFile(RadDiagram, string, string)

Declaration

cs-api-definition
public static void CreateHTMLFile(RadDiagram diagram, string jsRadSVGFilePath = "Telerik.WinControls.UI.Resources.RadSVG.js", string jsRadDiagramFilePath = "Telerik.WinControls.UI.Resources.RadDiagram.js")

Parameters

diagram

RadDiagram

jsRadSVGFilePath

string

jsRadDiagramFilePath

string

GetBitmap(Uri, string)

Gets a bitmap inside the given assembly at the given path therein.

Declaration

cs-api-definition
public static Bitmap GetBitmap(Uri uri, string assemblyName)

Parameters

uri

Uri

The relative URI.

assemblyName

string

Name of the assembly.

Returns

Bitmap

GetBitmap(string)

Gets a bitmap in the current assembly.

Declaration

cs-api-definition
public static Bitmap GetBitmap(string relativePath)

Parameters

relativePath

string

Returns

Bitmap

GetBitmap(string, string)

Gets a bitmap inside the given assembly at the given path therein.

Declaration

cs-api-definition
public static Bitmap GetBitmap(string relativeUri, string assemblyName)

Parameters

relativeUri

string

The relative URI.

assemblyName

string

Name of the assembly.

Returns

Bitmap

GetStream(Uri)

Gets the stream at the given path inside the current assembly.

Declaration

cs-api-definition
public static Stream GetStream(Uri uri)

Parameters

uri

Uri

The relative URI.

Returns

Stream

GetStream(Uri, string)

Gets the stream in the given assembly at the specified path.

Declaration

cs-api-definition
public static Stream GetStream(Uri uri, string assemblyName)

Parameters

uri

Uri

The relative URI.

assemblyName

string

Name of the assembly.

Returns

Stream

GetStream(string)

Gets the stream at the given path inside the current assembly.

Declaration

cs-api-definition
public static Stream GetStream(string relativeUri)

Parameters

relativeUri

string

The relative URI.

Returns

Stream

GetStream(string, string)

Gets the stream in the given assembly at the specified path.

Declaration

cs-api-definition
public static Stream GetStream(string relativeUri, string assemblyName)

Parameters

relativeUri

string

The relative URI.

assemblyName

string

Name of the assembly.

Returns

Stream