Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio .NET
Visual C++
Reference
MFC Reference
MFC Classes
CRgn Class
Member Functions
 CRgn::CreateFromData

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
MFC Library Reference
CRgn::CreateFromData

Creates a region from the given region and transformation data.

BOOL CreateFromData(
   const XFORM* lpXForm,
   int nCount,
   const RGNDATA* pRgnData 
);

Parameters

lpXForm
Points to an XFORM data structure that defines the transformation to be performed on the region. If this pointer is NULL, the identity transformation is used.
nCount
Specifies the number of bytes pointed to by pRgnData.
pRgnData
Points to a RGNDATA data structure that contains the region data.

Return Value

Nonzero if the function is successful; otherwise 0.

Remarks

An application can retrieve data for a region by calling the CRgn::GetRegionData function.

See Also

CRgn Overview | Class Members | Hierarchy Chart | CRgn::GetRegionData | ExtCreateRegion

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker