←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.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly