A Leadtools.LeadRect object that specifies the part of the image to use as the display source.
The coordinates in the srcRect rectangle are relative to the image. You can pass Rectangle.Empty to use the default, which matches the image.
A Leadtools.LeadRect object specifies the portion of the display source to paint. Generally, this is used for updating the display when part of the source image has changed.
The coordinates in the srcClipRect rectangle are relative to the image. You can pass Rectangle.Empty to use the default, which matches the image
A Leadtools.LeadRect object that determines how the source rectangle is scaled and how the image is positioned in the destination hdc handle.
The coordinates in the destRect object are relative to the hdc handle. There is no default for this parameter. You must specify the Leadtools.LeadRect object.
A Leadtools.LeadRect object that specifies the portion of the display rectangle to paint. Generally, this is used for updating changes in the display surface, such as when a user moves another window, uncovering a part of the image that had been covered up.
The coordinates in the destClipRect are relative to the device context handle. You can pass Rectangle.Empty to use the default, which matches the device context handle. In most cases, however, you should use the rectangle returned by the .NET PaintEventArgs.ClipRectangle or Windows WM_PAINT message.
public static void PaintRegion( RasterImage image, IntPtr hdc, LeadRect srcRect, LeadRect srcClipRect, LeadRect destRect, LeadRect destClipRect, RasterPaintProperties properties )
'Declaration Public Overloads Shared Sub PaintRegion( _ ByVal image As RasterImage, _ ByVal hdc As IntPtr, _ ByVal srcRect As LeadRect, _ ByVal srcClipRect As LeadRect, _ ByVal destRect As LeadRect, _ ByVal destClipRect As LeadRect, _ ByVal properties As RasterPaintProperties _ )
'Usage Dim image As RasterImage Dim hdc As IntPtr Dim srcRect As LeadRect Dim srcClipRect As LeadRect Dim destRect As LeadRect Dim destClipRect As LeadRect Dim properties As RasterPaintProperties RasterImagePainter.PaintRegion(image, hdc, srcRect, srcClipRect, destRect, destClipRect, properties)
public static void PaintRegion( RasterImage image, IntPtr hdc, LeadRect srcRect, LeadRect srcClipRect, LeadRect destRect, LeadRect destClipRect, RasterPaintProperties properties )
function Leadtools.Drawing.RasterImagePainter.PaintRegion(RasterImage,IntPtr,LeadRect,LeadRect,LeadRect,LeadRect,RasterPaintProperties)( image , hdc , srcRect , srcClipRect , destRect , destClipRect , properties )
public: static void PaintRegion( RasterImage^ image, IntPtr hdc, LeadRect srcRect, LeadRect srcClipRect, LeadRect destRect, LeadRect destClipRect, RasterPaintProperties properties )
A Leadtools.LeadRect object that specifies the part of the image to use as the display source.
The coordinates in the srcRect rectangle are relative to the image. You can pass Rectangle.Empty to use the default, which matches the image.
A Leadtools.LeadRect object specifies the portion of the display source to paint. Generally, this is used for updating the display when part of the source image has changed.
The coordinates in the srcClipRect rectangle are relative to the image. You can pass Rectangle.Empty to use the default, which matches the image
A Leadtools.LeadRect object that determines how the source rectangle is scaled and how the image is positioned in the destination hdc handle.
The coordinates in the destRect object are relative to the hdc handle. There is no default for this parameter. You must specify the Leadtools.LeadRect object.
A Leadtools.LeadRect object that specifies the portion of the display rectangle to paint. Generally, this is used for updating changes in the display surface, such as when a user moves another window, uncovering a part of the image that had been covered up.
The coordinates in the destClipRect are relative to the device context handle. You can pass Rectangle.Empty to use the default, which matches the device context handle. In most cases, however, you should use the rectangle returned by the .NET PaintEventArgs.ClipRectangle or Windows WM_PAINT message.
This method works the same as Paint(RasterImage,Graphics,LeadRect,RasterPaintProperties), except that only the image region is painted.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2