PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderDirectGraphicsEnd Method

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

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

    See Also