Export (0) Print
Expand All

Region Members

Region overview

Public Constructors

public constructorRegion Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new Region object.

Public Methods

public methodClone

Supported by the .NET Compact Framework.

Creates an exact copy if this Region object.
public methodComplement

Supported by the .NET Compact Framework.

Overloaded. Updates this Region object to the portion of the specified RectangleF structure that does not intersect with this Region object.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose

Supported by the .NET Compact Framework.

Releases all resources used by this Region object.
public methodEquals

Supported by the .NET Compact Framework.

Overloaded.
public methodExclude

Supported by the .NET Compact Framework.

Overloaded. Updates this Region object to the portion of its interior that does not intersect with the specified Rectangle structure.
public methodstatic (Shared in Visual Basic)FromHrgn Initializes a new Region object from a handle to the specified existing GDI region.
public methodGetBounds

Supported by the .NET Compact Framework.

Gets a RectangleF structure that represents a rectangle that bounds this Region object on the drawing surface of a Graphics object.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetHrgn Returns a Windows handle to this Region object in the specified graphics context.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetRegionData Returns a RegionData object that represents the information that describes this Region object.
public methodGetRegionScans Returns an array of RectangleF structures that approximate this Region object.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodIntersect

Supported by the .NET Compact Framework.

Overloaded. Updates this Region object to the intersection of itself with the specified Region object.
public methodIsEmpty

Supported by the .NET Compact Framework.

Tests whether this Region object has an empty interior on the specified drawing surface.
public methodIsInfinite

Supported by the .NET Compact Framework.

Tests whether this Region object has an infinite interior on the specified drawing surface.
public methodIsVisible

Supported by the .NET Compact Framework.

Overloaded. Tests whether the specified rectangle is contained within this Region object.
public methodMakeEmpty

Supported by the .NET Compact Framework.

Initializes this Region object to an empty interior.
public methodMakeInfinite

Supported by the .NET Compact Framework.

Initializes this Region object to an infinite interior.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodTransform Transforms this Region object by the specified Matrix object.
public methodTranslate

Supported by the .NET Compact Framework.

Overloaded. Offsets the coordinates of this Region object by the specified amount.
public methodUnion

Supported by the .NET Compact Framework.

Overloaded. Updates this Region object to the union of itself and the specified GraphicsPath object.
public methodXor

Supported by the .NET Compact Framework.

Overloaded. Updates this Region object to the union minus the intersection of itself with the specified GraphicsPath object.

Protected Methods

protected methodFinalize

Supported by the .NET Compact Framework.

Overridden. See Object.Finalize.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Region Class | System.Drawing Namespace

Show:
© 2014 Microsoft