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

In This Topic
    RenderBlockGraphicsEnd Method (SampleC1PrintDocument)
    In This Topic
    Adds the internally maintained C1.C1Preview.RenderGraphics object created with a previous call to C1.C1Preview.C1PrintDocument.RenderBlockGraphicsBegin to the block flow of the current document.
    Syntax
    'Declaration
     
    Public Function RenderBlockGraphicsEnd() As Boolean
    public bool RenderBlockGraphicsEnd()

    Return Value

    true if no warnings were generated by this call, false otherwise.
    Remarks
    Internally, this method calls C1.C1Preview.C1PrintDocument.RenderBlock, passing the C1.C1Preview.C1PrintDocument.CurrentBlockRenderGraphics as the parameter, and resets the internal variable used to hold that value.
    See Also