C# Class Viewer.SvgViewerForm

Afficher le fichier Open project: codebutler/savagesvg Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

public ClickMe ( IEvent e ) : void
e IEvent
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

SvgViewerForm() public méthode

Initialises a new instance of the SvgViewerForm class.
public SvgViewerForm ( ) : System
Résultat System

SvgViewerForm() public méthode

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