Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
public static IRenderingEngine Create( Graphics graphics )
'Declaration
Public Overloads Shared Function Create( _ ByVal graphics As Graphics _ ) As IRenderingEngine
'Usage
Dim graphics As Graphics Dim value As IRenderingEngine value = RenderingEngineFactory.Create(graphics)
public: static IRenderingEngine^ Create( Graphics^ graphics )
Use this method in your Windows Forms application to render an Leadtools.Svg.SvgDocument into any control. For example, you can use the Graphics object passed to the Control.Paint event of your form or control or the Graphics object created from a GDI image.
Leadtools.IRenderingEngine implements System.IDisposable, so it is recommended to wrap this method call in a "using" statement or call System.IDisposable.Dispose manually.
For an example, refer to SvgDocument.Render.