PathToRegion


static Handle PathToRegion(Handle Device)

This function creates a region from a path.

Parameters

Handle Device

The handle of the device context containing the path to be converted.

Return

Handle

The handle of the new region.

Notes

The specified device context must contain a closed, selected path.

The path is used to create the region and then it is discarded from the device context.

The new region is defined in device coordinates.

Details

Name Space IPlusPlus::Graphics
Class Gdi
Assembly IPlusPlus.WinPlus.dll