DrawImage(GcGraphics,Object,RectangleF,ImageScaleMode,Boolean,PointF,Boolean) Method
In This Topic
Syntax
'Declaration
Public Overloads Shared Sub DrawImage( _
ByVal As GcGraphics, _
ByVal As System.Object, _
ByVal As System.Drawing.RectangleF, _
ByVal As ImageScaleMode, _
ByVal As System.Boolean, _
ByVal As System.Drawing.PointF, _
ByVal As System.Boolean _
)
public static void DrawImage(
GcGraphics ,
System.object ,
System.Drawing.RectangleF ,
ImageScaleMode ,
System.bool ,
System.Drawing.PointF ,
System.bool
)
Parameters
- g
- The graphics to draw on.
- image
- The image object (an GrapeCity.Documents.Drawing.IImage or a GrapeCity.Documents.Pdf.Graphics.FormXObject).
- bounds
- The image bounds.
- imageScaleMode
- The image scale mode.
- imageScaleProportional
- Indicates whether the image should be scaled proportionally
- imageScalePosition
- The image position, see GrapeCity.Documents.Pdf.Annotations.ImageScale.Position for details.
- imageScaleIgnoreBorder
- Indicates whether a button's appearance should be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border.
See Also