Creates a new rendering engine from a GDI+ Graphics.
public static IRenderingEngine Create(Graphics graphics)
Public Overloads Shared Function Create( _ByVal graphics As Graphics _) As Leadtools.IRenderingEngine
public:static Leadtools.IRenderingEngine^ Create(Graphics^ graphics)
graphics
Target GDI+ graphics object for the rendering. This cannot be null.
The newly created Leadtools.IRenderingEngine instance that is ready to be used.
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
