Graphics.DrawImage

DrawImage(Image, int, int)

يرسم الصورة المحددة، باستخدام حجمها الفيزيائي الأصلي، في الموقع المحدد بواسطة زوج من الإحداثيات.

public void DrawImage(Image sourceImage, int x, int y)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
xInt32الإحداثي السيني للزاوية العليا اليسرى للصورة المرسومة.
yInt32الإحداثي الصادي للزاوية العليا اليسرى للصورة المرسومة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, Rectangle)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, Rectangle rect)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectRectangleRectangle بنية تحدد الموقع والحجم للصورة المرسومة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, int, int, int, int)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, int x, int y, int width, int height)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
xInt32الإحداثي السيني للزاوية العليا اليسرى للصورة المرسومة.
yInt32الإحداثي الصادي للزاوية العليا اليسرى للصورة المرسومة.
العرضInt32عرض الصورة المرسومة.
الارتفاعInt32ارتفاع الصورة المرسومة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, PointF)

يرسم الصورة المحددة Image، باستخدام حجمها الفيزيائي الأصلي، في الموقع المحدد.

public void DrawImage(Image sourceImage, PointF point)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
pointPointFPointF بنية تمثل الزاوية العليا اليسرى للصورة المرسومة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, float, float)

يرسم الصورة المحددة Image، باستخدام حجمها الفيزيائي الأصلي، في الموقع المحدد.

public void DrawImage(Image sourceImage, float x, float y)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
xفرديالإحداثي السيني للزاوية العليا اليسرى للصورة المرسومة.
yفرديالإحداثي الصادي للزاوية العليا اليسرى للصورة المرسومة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, RectangleF)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, RectangleF rect)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectRectangleFRectangleF بنية تحدد الموقع والحجم للصورة المرسومة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, Rectangle, GraphicsUnit)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, Rectangle rectDestination, GraphicsUnit graphicsUnit)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectDestinationRectangleمستطيل الوجهة.
graphicsUnitGraphicsUnitوحدة الرسومات.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, RectangleF, GraphicsUnit)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, RectangleF rectDestination, GraphicsUnit graphicsUnit)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectDestinationRectangleFمستطيل الوجهة.
graphicsUnitGraphicsUnitوحدة الرسومات.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, Rectangle, GraphicsUnit, ImageAttributes)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, Rectangle rectDestination, GraphicsUnit graphicsUnit, 
    ImageAttributes imageAttributes)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectDestinationRectangleمستطيل الوجهة.
graphicsUnitGraphicsUnitوحدة الرسومات.
imageAttributesImageAttributesخصائص الصورة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, RectangleF, GraphicsUnit, ImageAttributes)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, RectangleF rectDestination, GraphicsUnit graphicsUnit, 
    ImageAttributes imageAttributes)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectDestinationRectangleFمستطيل الوجهة للرسم فيه.
graphicsUnitGraphicsUnitوحدة الرسومات.
imageAttributesImageAttributesخصائص الصورة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, Rectangle, Rectangle, GraphicsUnit)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, Rectangle rectSource, Rectangle rectDestination, 
    GraphicsUnit graphicsUnit)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectSourceRectangleمستطيل المصدر.
rectDestinationRectangleمستطيل الوجهة.
graphicsUnitGraphicsUnitوحدة الرسومات.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, RectangleF rectSource, RectangleF rectDestination, 
    GraphicsUnit graphicsUnit)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectSourceRectangleFمستطيل المصدر.
rectDestinationRectangleFمستطيل الوجهة.
graphicsUnitGraphicsUnitوحدة الرسومات.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, Rectangle, Rectangle, GraphicsUnit, ImageAttributes)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, Rectangle rectSource, Rectangle rectDestination, 
    GraphicsUnit graphicsUnit, ImageAttributes imageAttributes)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectSourceRectangleمستطيل المصدر.
rectDestinationRectangleمستطيل الوجهة.
graphicsUnitGraphicsUnitوحدة الرسومات.
imageAttributesImageAttributesخصائص الصورة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, RectangleF, RectangleF, GraphicsUnit, ImageAttributes)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, RectangleF rectSource, RectangleF rectDestination, 
    GraphicsUnit graphicsUnit, ImageAttributes imageAttributes)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
rectSourceRectangleFمستطيل المصدر.
rectDestinationRectangleFمستطيل الوجهة.
graphicsUnitGraphicsUnitوحدة الرسومات المستخدمة.
imageAttributesImageAttributesخصائص الصورة المستخدمة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, Point[])

يرسم الجزء المحدد من image المحدد في الموقع المحدد وبالحجم المحدد.

public void DrawImage(Image image, Point[] destPoints)
معاملنوعالوصف
imageصورةالصورة المراد رسمها.
destPointsPoint[]مصفوفة من ثلاث هياكل PointF التي تحدد متوازي أضلاع.

انظر أيضًا


DrawImage(Image, Point[], Rectangle)

يرسم الجزء المحدد من image المحدد في الموقع المحدد وبالحجم المحدد.

public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect)
معاملنوعالوصف
imageصورةالصورة المراد رسمها.
destPointsPoint[]مصفوفة من ثلاث هياكل PointF التي تحدد متوازي أضلاع.
srcRectRectangleمستطيل المصدر.

انظر أيضًا


DrawImage(Image, Point[], Rectangle, GraphicsUnit)

يرسم الجزء المحدد من image المحدد في الموقع المحدد وبالحجم المحدد.

public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit)
معاملنوعالوصف
imageصورةالصورة المراد رسمها.
destPointsPoint[]مصفوفة من ثلاث هياكل PointF التي تحدد متوازي أضلاع.
srcRectRectangleمستطيل المصدر.
srcUnitGraphicsUnitوحدات القياس.

انظر أيضًا


DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes)

يرسم الجزء المحدد من image المحدد في الموقع المحدد وبالحجم المحدد.

public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, 
    ImageAttributes imageAttributes)
معاملنوعالوصف
imageصورةالصورة المراد رسمها.
destPointsPoint[]مصفوفة من ثلاث هياكل PointF التي تحدد متوازي أضلاع.
srcRectRectangleمستطيل المصدر.
srcUnitGraphicsUnitوحدات القياس.
imageAttributesImageAttributesخصائص الصورة.

انظر أيضًا


DrawImage(Image, PointF[])

يرسم الجزء المحدد من image المحدد في الموقع المحدد وبالحجم المحدد.

public void DrawImage(Image image, PointF[] destPoints)
معاملنوعالوصف
imageصورةالصورة المراد رسمها.
destPointsPointF[]مصفوفة من ثلاث هياكل PointF التي تحدد متوازي أضلاع.

الاستثناءات

استثناءشرط
ArgumentNullExceptionimage

انظر أيضًا


DrawImage(Image, PointF[], RectangleF)

يرسم الجزء المحدد من image المحدد في الموقع المحدد وبالحجم المحدد.

public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect)
معاملنوعالوصف
imageصورةالصورة المراد رسمها.
destPointsPointF[]مصفوفة من ثلاث هياكل PointF التي تحدد متوازي أضلاع.
srcRectRectangleFمستطيل المصدر.

انظر أيضًا


DrawImage(Image, PointF[], RectangleF, GraphicsUnit)

يرسم الجزء المحدد من image المحدد في الموقع المحدد وبالحجم المحدد.

public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit)
معاملنوعالوصف
imageصورةالصورة المراد رسمها.
destPointsPointF[]مصفوفة من ثلاث هياكل PointF التي تحدد متوازي أضلاع.
srcRectRectangleFمستطيل المصدر.
srcUnitGraphicsUnitوحدات القياس.

انظر أيضًا


DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes)

يرسم الجزء المحدد من image المحدد في الموقع المحدد وبالحجم المحدد.

public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, 
    ImageAttributes imageAttributes)
معاملنوعالوصف
imageصورةالصورة المراد رسمها.
destPointsPointF[]مصفوفة من ثلاث هياكل PointF التي تحدد متوازي أضلاع.
srcRectRectangleFمستطيل المصدر.
srcUnitGraphicsUnitوحدات القياس.
imageAttributesImageAttributesخصائص الصورة.

انظر أيضًا


DrawImage(Image, float, float, float, float)

يرسم الصورة المحددة Image في الموقع المحدد ومع الحجم المحدد.

public void DrawImage(Image sourceImage, float x, float y, float width, float height)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
xفرديالإحداثي السيني للزاوية العليا اليسرى للصورة المرسومة.
yفرديالإحداثي الصادي للزاوية العليا اليسرى للصورة المرسومة.
العرضفرديعرض الصورة المرسومة.
الارتفاعفرديارتفاع الصورة المرسومة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا


DrawImage(Image, Point)

يرسم الصورة المحددة Image، باستخدام حجمها الفيزيائي الأصلي، في الموقع المحدد.

public void DrawImage(Image sourceImage, Point point)
معاملنوعالوصف
sourceImageصورةالصورة التي سيتم الرسم بها.
pointPointPoint هيكل يمثل موقع الزاوية العلوية اليسرى للصورة المرسومة.

الاستثناءات

استثناءشرط
ArgumentNullExceptionsourceImage هو null.

انظر أيضًا