Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout.Composition Namespace / Surface Class / Render Method
The target GrapeCity.Documents.Drawing.GcGraphics object.

In This Topic
    Render Method (Surface)
    In This Topic
    Draws this Surface on a specified GrapeCity.Documents.Drawing.GcGraphics object.

    This method first calls PerformLayout, if the call succeeds it then draws all layers starting with the bottom layer and going up. For each layer, it draws all visuals from the bottom to the top one, followed by drawing the layer's sub-layers. The process repeats until the topmost visual of the top layer has been drawn.

    Syntax
    'Declaration
     
    Public Function Render( _
       ByVal graphics As GcGraphics _
    ) As System.Boolean
    public System.bool Render( 
       GcGraphics graphics
    )

    Parameters

    graphics
    The target GrapeCity.Documents.Drawing.GcGraphics object.

    Return Value

    The result of executing the PerformLayout method.
    See Also