Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
'Declaration
Public Overloads Shared Sub FrameRegion( _ ByVal hrgn As IntPtr, _ ByVal graphics As Graphics, _ ByVal frameIndex As Integer _ )
'Usage
Dim hrgn As IntPtr Dim graphics As Graphics Dim frameIndex As Integer RasterImagePainter.FrameRegion(hrgn, graphics, frameIndex)
If the region includes non-contiguous shapes, each shape is outlined. The outline, itself, is inside the region.
This method is designed to produce an animated frame, which you can implement by calling the method with a timer event that cycles through the possible frame types.
For more information refer to RasterImage and GDI/GDI+.
For more information, refer to Creating a Region and Working with the Existing Region.