PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderDirectImage Method / RenderDirectImage(Unit,Unit,Image) Method
The horizontal (X) coordinate at which to render the image (cannot be auto).
The vertical (Y) coordinate at which to render the image (cannot be auto).
The image to render.

In This Topic
    RenderDirectImage(Unit,Unit,Image) Method
    In This Topic
    Adds an System.Drawing.Image to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
    Syntax
    'Declaration
     
    Public Overloads Sub RenderDirectImage( _
       ByVal x As Unit, _
       ByVal y As Unit, _
       ByVal image As Image _
    ) 
    public void RenderDirectImage( 
       Unit x,
       Unit y,
       Image image
    )

    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.
    Remarks

    This method can only be used between calls to C1PrintDocument.StartDoc and C1PrintDocument.EndDoc methods on the current document. For details, see C1PrintDocument.RenderDirect.

    See Also