C# Класс SvgComponents.SvgPictureBox

Наследование: System.Windows.Forms.Control
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ExecuteScripts void
InitializeComponent void
InitializeEvents void
UnloadEngines void
renderAndInvalidate void
updateAndInvalidate void

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

Метод Описание
CacheRenderingRegions ( ) : void
CreateEmptySvgDocument ( ) : SvgDocument

Create an empty SvgDocument and GdiRenderer for this control. The empty SvgDocument is returned. This method is needed only in situations where the library user needs to create an SVG DOM tree outside of the usual window Src setting mechanism.

Draw ( Graphics gr ) : void
Draw ( Graphics gr, RectangleF rect ) : void
Draw ( Graphics gr, int offsetX, int offsetY ) : void
DrawTo ( IntPtr hdc ) : void
GetScriptEngineByMimeType ( string mimeType ) : ScriptEngine
Load ( string value ) : void
LoadXml ( string xml ) : void
OnRender ( RectangleF updatedRect ) : void
Render ( ) : void
SetMimeTypeEngineType ( string mimeType, Type engineType ) : void
SvgPictureBox ( ) : System
Update ( RectangleF rect ) : void

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

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

Clean up any resources being used.

OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( System e ) : void
OnResize ( EventArgs e ) : void
SetupStyleSheets ( ) : void

Loads the default user and agent stylesheets into the current SvgDocument

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

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

Collect the text in all script elements, build engine and execute.

InitializeComponent ( ) : void

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

InitializeEvents ( ) : void

Add event listeners for on* events within the document

UnloadEngines ( ) : void

Clears the existing script engine list from any previously running instances

renderAndInvalidate ( ) : void
updateAndInvalidate ( RectangleF rect ) : void

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

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

public CacheRenderingRegions ( ) : void
Результат void

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

Create an empty SvgDocument and GdiRenderer for this control. The empty SvgDocument is returned. This method is needed only in situations where the library user needs to create an SVG DOM tree outside of the usual window Src setting mechanism.
public CreateEmptySvgDocument ( ) : SvgDocument
Результат SharpVectors.Dom.Svg.SvgDocument

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

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

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

public Draw ( Graphics gr ) : void
gr System.Drawing.Graphics
Результат void

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

public Draw ( Graphics gr, RectangleF rect ) : void
gr System.Drawing.Graphics
rect System.Drawing.RectangleF
Результат void

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

public Draw ( Graphics gr, int offsetX, int offsetY ) : void
gr System.Drawing.Graphics
offsetX int
offsetY int
Результат void

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

public DrawTo ( IntPtr hdc ) : void
hdc System.IntPtr
Результат void

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

public GetScriptEngineByMimeType ( string mimeType ) : ScriptEngine
mimeType string
Результат SharpVectors.Scripting.ScriptEngine

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

public Load ( string value ) : void
value string
Результат void

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

public LoadXml ( string xml ) : void
xml string
Результат void

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

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

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

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

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

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

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

protected OnPaint ( System e ) : void
e System
Результат void

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

public OnRender ( RectangleF updatedRect ) : void
updatedRect System.Drawing.RectangleF
Результат void

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

protected OnResize ( EventArgs e ) : void
e System.EventArgs
Результат void

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

public Render ( ) : void
Результат void

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

public SetMimeTypeEngineType ( string mimeType, Type engineType ) : void
mimeType string
engineType System.Type
Результат void

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

Loads the default user and agent stylesheets into the current SvgDocument
protected SetupStyleSheets ( ) : void
Результат void

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

public SvgPictureBox ( ) : System
Результат System

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

public Update ( RectangleF rect ) : void
rect System.Drawing.RectangleF
Результат void