public static ScreenPolygon FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } ScreenPolygon obj = baseObj as ScreenPolygon; if (object.Equals(obj, null)) { obj = new ScreenPolygon(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "CScreenPolygon"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { ScreenPolygon emptyInstance = new ScreenPolygon(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }