Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Graphics.GetContextInfo Method

This API supports the .NET Framework 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)

[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, Name = "System.Windows.Forms", 
	PublicKey = "0x00000000000000000400000000000000")]
public 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft