Desktop Functions: Smart Device Functions:
|
CreatePolygonRgn (gdi32)
C# Signature:
[DllImport("gdi32.dll")] User-Defined Types:Notes:Values for fnPolyFillMode can be 1=Alternate or 2=Winding Tips & Tricks:System.Drawing.Point can be used instead POINT. [DllImport("gdi32.dll")]
static extern IntPtr CreatePolygonRgn(Point[] lppt, int cPoints, int fnPolyFillMode); Sample Code:/// <summary> /// Create a border for custom label control /// </summary> /// <returns> /// if int is returned. Function was successful. /// if string is returned. Function was failed. /// </returns> /// <remarks>Created by Jim Vazquez Castan</remarks> private string SetBorder() {
try } Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|