Graphics.GetContextInfo Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the cumulative graphics context.

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

	Name := "System.Windows.Forms", PublicKey := "0x00000000000000000400000000000000")>
Public Function GetContextInfo As Object

Return Value

Type: System.Object

An Object representing the cumulative graphics context.

The return value is an object array where the first element contains the cumulative clip region and the second element contains the cumulative translate/transform matrix.

.NET Framework
Available since 2.0
Return to top