C# Класс Viewer.SvgViewerForm

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ClickMe ( IEvent e ) : void
SvgViewerForm ( ) : System

Initialises a new instance of the SvgViewerForm class.

SvgViewerForm ( string filePath ) : System

Initialises a new instance of the SvgViewerForm class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Main ( string cmdLineArgs ) : void
SvgViewerForm_Load ( object sender, System e ) : void
addSvgTestSuiteMenu ( ) : void

Adds the Svg test suite menu items to the form's menu.

addSvgTestSuiteMenuItem ( string testCategory, string testName ) : void

Add a new Svg test suite menu item.

btnGo_Click ( object sender, System e ) : void
loadSvgtestSuiteFile ( object sender, System e ) : void
loadUrl ( string url ) : void
miAbout_Click ( object sender, System e ) : void
miClearCache_Click ( object sender, System e ) : void
miCopy_Click ( object sender, System e ) : void

The following code will load the SVGDOM, render to a emf, and place the EMF on the clipboard. Kt seems more complicated than it should see http://www.dotnet247.com/247reference/msgs/23/118514.aspx for why the straight forward solution does not work.

miExit_Click ( object sender, System e ) : void
miOpenLocal_Click ( object sender, System e ) : void
miShowRefImage_Click ( object sender, System e ) : void
openFileDialog1_FileOk ( object sender, System e ) : void

Описание методов

ClickMe() публичный Метод

public ClickMe ( IEvent e ) : void
e IEvent
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

SvgViewerForm() публичный Метод

Initialises a new instance of the SvgViewerForm class.
public SvgViewerForm ( ) : System
Результат System

SvgViewerForm() публичный Метод

Initialises a new instance of the SvgViewerForm class.
public SvgViewerForm ( string filePath ) : System
filePath string /// The URL the SvgViewerForm object /// will open. ///
Результат System