PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / RenderDirectGraphicsEnd Method

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

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

    See Also