RenderDirectImage(Unit,Unit,Image,Object,Object,ImageAlign) Method
In This Topic
Adds an
System.Drawing.Image to the
C1.C1Preview.C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
Syntax
'Declaration
Public Overloads Sub RenderDirectImage( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Image, _
ByVal As Object, _
ByVal As Object, _
ByVal As ImageAlign _
)
public void RenderDirectImage(
Unit ,
Unit ,
Image ,
object ,
object ,
ImageAlign
)
Parameters
- x
- The horizontal (X) coordinate at which to render the image (cannot be auto).
- y
- The vertical (Y) coordinate at which to render the image (cannot be auto).
- image
- The image to render.
- width
- The width of the image (if null, auto is used).
- height
- The height of the image (if null, auto is used).
- imageAlign
- The image alignment to use.
See Also