The gpObject class is the abstract base class for all GDI+ objects. It provides management of GDI+ handles and the outcome of GDI+ operations.
Category | Reporting |
---|---|
Default Catalog |
VisualВ FoxProВ Catalog\FoundationВ Classes\Output\GDIplus |
Class |
gpObject |
Base Class |
Custom |
Class Library |
_GDIPLUS.vcx |
Parent Class |
gpBase (GDI Plus Base Foundation Class) |
Remarks
The following table lists public properties and methods added by this class to its parent class, gpBase.
Properties and methods | Description |
---|---|
GetHandle Method |
Returns the underlying GDI+ handle for this object.
Syntax:
Return Values: Integer value representing handle. Returns null ( Parameters:В None. |
GetStatus Method |
Returns the status code from the last GDI+ function called on this object. See the GP_STATUS_* defined constants.
Syntax:
Return Values: Integer value representing status code. Parameters:В None. |
SetHandle Method |
Sets the native GDI+ handle if this has been obtained from an outside source.
Syntax:
Return Values: : Logical, representing success or failure. Parameters:В tvHandle, required, the handle to assign.
tlOwnsHandle, optional, defaults to false ( |
Win32LastError Property |
Returns the last Windows error code if GetStatus returns
Default:
|