OffsetRgn method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short OffsetRgn (float fDx, float fDy);

Overview:  Refer to Creating and Using a Bitmap Region.

Remarks

Moves the bitmap region a specified distance. The move does not affect the pixels in the region.

The distances are relative to the LEAD bitmap in memory, not to the Main Control's client area. The unit of measure is determined by the ScaleMode property.

See Also

Elements:  SetRgnEllipse method, SetRgnRect method, SetRgnRoundRect method, SetRgnColor method, PolygonSize property

Topics:  Raster Images: Creating and Using a Region