Displays an outline of the Windows HRGN in the given System.Drawing.Graphics object.
public static void FrameRegion(
IntPtr hrgn,
Graphics graphics,
int frameIndex
)
Public Overloads Shared Sub FrameRegion( _
ByVal hrgn As IntPtr, _
ByVal graphics As Graphics, _
ByVal frameIndex As Integer _
)
public:
static void FrameRegion(
IntPtr hrgn,
Graphics^ graphics,
int frameIndex
)
hrgn
Windows HRGN object.
graphics
System.Drawing.Graphics object where the frame is to appear.
frameIndex
Zero-index of the frame to display. Possible values are from 0 to MaxRegionFrameIndex. You can animate the region frame by cycling between these values.
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.
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.