Graphics::GetContextInfo Method ()

 

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)

public:
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, 
	Name = "System.Windows.Forms", PublicKey = "0x00000000000000000400000000000000")]
Object^ GetContextInfo()

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
Show: