←Select platform

Create(IntPtr) Method

Summary
Creates a new rendering engine from a Windows HDC.
Syntax
C#
C++/CLI
Python
public static IRenderingEngine Create( 
   IntPtr hdc 
) 
public: 
static IRenderingEngine^ Create(  
   IntPtr hdc 
)  
def Create(self,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 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.