BufferedGraphics::Render Method (Graphics^)

 

Writes the contents of the graphics buffer to the specified Graphics object.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
void Render(
	Graphics^ target
)

Parameters

target
Type: System.Drawing::Graphics^

A Graphics object to which to write the contents of the graphics buffer.

This method writes the contents of the graphics buffer to the specified Graphics object.

The following code example demonstrates rendering the contents of the graphics buffer to a specified Graphics object. This code is part of a larger example provided for the BufferedGraphics class.

private:
   void RenderToGraphics( Graphics^ g )
   {
      grafx->Render( g );
   }

.NET Framework
Available since 2.0
Return to top
Show: