←Select platform

Create() Method

Summary

Creates a new rendering engine from a GDI+ Graphics.

Syntax
C#
VB
C++
public static IRenderingEngine Create() 
Public Shared Function Create() As IRenderingEngine 
public:  
   static IRenderingEngine^ Create() 

Return Value

The newly created Leadtools.IRenderingEngine instance that is ready to be used.

Remarks

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.

Example

For an example, refer to SvgDocument.Render.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.