public static void FrameRegion( RasterImage image, IntPtr hdc, RasterRegionXForm xform, int frameIndex )
'Declaration Public Overloads Shared Sub FrameRegion( _ ByVal image As RasterImage, _ ByVal hdc As IntPtr, _ ByVal xform As RasterRegionXForm, _ ByVal frameIndex As Integer _ )
'Usage Dim image As RasterImage Dim hdc As IntPtr Dim xform As RasterRegionXForm Dim frameIndex As Integer RasterImagePainter.FrameRegion(image, hdc, xform, frameIndex)
public: static void FrameRegion( RasterImage^ image, IntPtr hdc, RasterRegionXForm^ xform, int frameIndex )
If the region includes noncontiguous shapes, each shape is outlined. The outline, itself, is inside the region.
Before calling this method, create a Leadtools.RasterRegionXForm object and set its values, which LEADTOOLS uses to translate between device context coordinates and image coordinates.
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.