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
)
control
Valid control object.
The created object.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document