←Select platform

CreateForControl Method

Summary

Creates a new instance of ImageViewerRenderEventArgs from the specified control

Syntax
C#
C++/CLI
public static ImageViewerRenderEventArgs CreateForControl( 
   Control control 
) 
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 22.0.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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