C# Class Viewer.SvgViewerForm

Datei anzeigen Open project: codebutler/savagesvg Class Usage Examples

Public Methods

Method Description
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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
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

Method Details

ClickMe() public method

public ClickMe ( IEvent e ) : void
e IEvent
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

SvgViewerForm() public method

Initialises a new instance of the SvgViewerForm class.
public SvgViewerForm ( ) : System
return System

SvgViewerForm() public method

Initialises a new instance of the SvgViewerForm class.
public SvgViewerForm ( string filePath ) : System
filePath string /// The URL the SvgViewerForm object /// will open. ///
return System