Error processing SSI file
LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)

Show in webframe

FrameRegion(IntPtr,Graphics,Int32) Method






Windows HRGN object.
System.Drawing.Graphics object where the frame is to appear.
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.
Displays an outline of the Windows HRGN in the given System.Drawing.Graphics object.
Syntax
public static void FrameRegion( 
   IntPtr hrgn,
   Graphics graphics,
   int frameIndex
)
'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)
public:
static void FrameRegion( 
   IntPtr hrgn,
   Graphics^ graphics,
   int frameIndex
) 

Parameters

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.
Remarks

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.

Requirements

Target Platforms

See Also

Reference

RasterImagePainter Class
RasterImagePainter Members
Overload List

Error processing SSI file