←Select platform

Create(IntPtr) Method

Summary

Creates a new rendering engine from a Windows HDC.

Syntax
C#
VB
C++
public static IRenderingEngine Create( 
   IntPtr hdc 
) 
Public Overloads Shared Function Create( _ 
   ByVal hdc As IntPtr _ 
) As IRenderingEngine 
public: 
static IRenderingEngine^ Create(  
   IntPtr hdc 
)  

Parameters

hdc
Windows HDC. This cannot be IntPtr.Zero.

Return Value

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

Remarks

Leadtools.IRenderingEngine implements System.IDisposable, so it is recommended to wrap this method call in a "using" statement or call System.IDisposable.Dispose manually.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly