Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: |
See Also
Reference
Visual FoxPro Foundation Classes A-Z
GDI Plus API Wrapper Foundation Classes