Creates a new instance of ImageViewerRenderEventArgs from the specified control
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET