[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.Composition.Surface.Render

Render Method

Render(GcGraphics)

Draws this Surface on a specified 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.

Declaration
public bool Render(GcGraphics graphics)
Public Function Render(graphics As GcGraphics) As Boolean
Parameters
Type Name Description
GcGraphics graphics

The target GcGraphics object.

Returns
Type Description
bool

The result of executing the PerformLayout() method.