PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderDirectGraphicsEnd Method

In This Topic
    RenderDirectGraphicsEnd Method (C1PrintDocument)
    In This Topic
    Renders the internally maintained RenderGraphics object created with a previous call to C1PrintDocument.RenderDirectGraphicsBegin onto the current page of the document.
    Syntax
    'Declaration
     
    Public Sub RenderDirectGraphicsEnd() 
    public void RenderDirectGraphicsEnd()
    Remarks
    Internally, this method calls C1PrintDocument.RenderDirect, passing the C1PrintDocument.CurrentDirectRenderGraphics as the parameter, and resets the internal variable used to hold that value.

    The coordinates at which C1PrintDocument.CurrentDirectRenderGraphics is rendered are determined by the preceding call to C1PrintDocument.RenderDirectGraphicsBegin.

    See Also