←Select platform

CreateForControl Method

Summary

Creates a new instance of ImageViewerRenderEventArgs from the specified control

Syntax
C#
VB
C++
public static ImageViewerRenderEventArgs CreateForControl( 
   Control control 
) 
Public Shared Function CreateForControl( 
   ByVal control As System.Windows.Forms.Control 
) As ImageViewerRenderEventArgs 
public:  
   static ImageViewerRenderEventArgs^ CreateForControl( 
      System::Windows::Forms::Control^ control 
   ) 

Parameters

control

Valid control object.

Return Value

The created object.

Remarks

Use this method to create an instance of ImageViewerRenderEventArgs from a control. Internally, this method will use System.Windows.Forms.Control.CreateGraphics and uses the returned value to initialize the other members of the class.

You must call DestroyForControl when you are finished with the object.

Requirements

Target Platforms

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

Leadtools.Controls Assembly