You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Drawing (GdPicture Image) > DrawGdPictureImageOPRect Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.DrawGdPictureImageOPRect Method

Draws a portion of a GdPicture image into another GdPicture image using an operator of combination.

C#
public GdPictureStatus DrawGdPictureImageOPRect(
    int SrcImage, 
    int DstImage, 
    int DstLeft, 
    int DstTop, 
    int DstWidth, 
    int DstHeight, 
    int SrcLeft, 
    int SrcTop, 
    int SrcWidth, 
    int SrcHeight, 
    Operators Op, 
    InterpolationMode InterpolationMode
);
Visual Basic
Public Function DrawGdPictureImageOPRect(
    ByVal SrcImage As Integer, 
    ByVal DstImage As Integer, 
    ByVal DstLeft As Integer, 
    ByVal DstTop As Integer, 
    ByVal DstWidth As Integer, 
    ByVal DstHeight As Integer, 
    ByVal SrcLeft As Integer, 
    ByVal SrcTop As Integer, 
    ByVal SrcWidth As Integer, 
    ByVal SrcHeight As Integer, 
    ByVal Op As Operators, 
    ByVal InterpolationMode As InterpolationMode
) As GdPictureStatus
Parameters
Parameters 
Description 
SrcImage 
GdPicture Image Identifier. Specifies the image to be drawn.  
DstImage 
GdPicture Image Identifier. specifies the image to draw.  
DstLeft 
Specifies the x-coordinate in pixel of the upper-left corner of the destination rectangle at which to draw the image.  
DstTop 
Specifies the y-coordinate in pixel of the upper-left corner of the destination rectangle at which to draw the image.  
DstWidth 
Specifies the width in pixel of the destination rectangle at which to draw the image.  
DstHeight 
Specifies the height in pixel of the destination rectangle at which to draw the image.  
SrcLeft 
Specifies the the x-coordinate in pixel of the upper-left corner of the portion of the source image to be drawn.  
SrcTop 
Specifies the the y-coordinate in pixel of the upper-left corner of the portion of the source image to be drawn.  
SrcWidth 
Specifies the width in pixel of the portion of the source image to be drawn.  
SrcHeight 
Specifies the height in pixel of the portion of the source image to be drawn.  
Op 
A member of the Operators enumeration.  
InterpolationMode 
A member of the Drawing2D.InterPolationMode enumeration.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.