Enum IGDIPlus.TGPStatus
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
Revision as of 14:23, 26 October 2012
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type TGPStatus = (Ok, GenericError, InvalidParameter, OutOfMemory, ObjectBusy, InsufficientBuffer, NotImplemented, Win32Error, WrongState, Aborted, FileNotFound, ValueOverflow, AccessDenied, UnknownImageFormat, FontFamilyNotFound, FontStyleNotFound, NotTrueTypeFont, UnsupportedGdiplusVersion, GdiplusNotInitialized, PropertyNotFound, PropertyNotSupported, ProfileNotFound);
C++ Builder:
enum TGPStatus {Ok, GenericError, InvalidParameter, OutOfMemory, ObjectBusy, InsufficientBuffer, NotImplemented, Win32Error, WrongState, Aborted, FileNotFound, ValueOverflow, AccessDenied, UnknownImageFormat, FontFamilyNotFound, FontStyleNotFound, NotTrueTypeFont, UnsupportedGdiplusVersion, GdiplusNotInitialized, PropertyNotFound, PropertyNotSupported, ProfileNotFound};
Visual C++ (MFC):
enum CTGPStatus {Ok, GenericError, InvalidParameter, OutOfMemory, ObjectBusy, InsufficientBuffer, NotImplemented, Win32Error, WrongState, Aborted, FileNotFound, ValueOverflow, AccessDenied, UnknownImageFormat, FontFamilyNotFound, FontStyleNotFound, NotTrueTypeFont, UnsupportedGdiplusVersion, GdiplusNotInitialized, PropertyNotFound, PropertyNotSupported, ProfileNotFound};
Summary
Specifies the results of a Microsoft Windows GDI+ method calls.
Description
The TGPStatus enumeration indicates the result of a Microsoft Windows GDI+ method call.
Values
Ok | Indicates that the method call was successful. |
GenericError | Indicates that there was an error on the method call, which is identified as something other than those defined by the other elements of this enumeration. |
InvalidParameter | Indicates that one of the arguments passed to the method was not valid. |
OutOfMemory | Indicates that the operating system is out of memory and could not allocate memory to process the method call. For an explanation of how constructors use the OutOfMemory status, see the Remarks section at the end of this topic. Remarks If you construct a GDI+ object and then immediately call the GetLastStatus method of that object, you can determine whether the constructor succeeded or failed. In such cases, GetLastStatus might return OutOfMemory even though there was plenty of memory available to create the object. Several GDI+ constructors set the status to OutOfMemory when they fail regardless of the reason for failure. |
ObjectBusy | Indicates that one of the arguments specified in the API call is already in use in another thread. |
InsufficientBuffer | Indicates that a buffer specified as an argument in the API call is not large enough to hold the data to be received. |
NotImplemented | Indicates that the method is not implemented. |
Win32Error | Indicates that the method generated a Microsoft Win32 error. |
WrongState | Indicates that the object is in an invalid state to satisfy the API call. For example, calling TGPPen.GetColor from a pen that is not a single, solid color results in a WrongState status. |
Aborted | Indicates that the method was aborted. |
FileNotFound | Indicates that the specified image file or metafile cannot be found. |
ValueOverflow | Indicates that the method performed an arithmetic operation that produced a numeric overflow. |
AccessDenied | Indicates that a write operation is not allowed on the specified file. |
UnknownImageFormat | Indicates that the specified image file format is not known. |
FontFamilyNotFound | Indicates that the specified font family cannot be found. Either the font family name is incorrect or the font family is not installed. |
FontStyleNotFound | Indicates that the specified style is not available for the specified font family. |
NotTrueTypeFont | Indicates that the font retrieved from an HDC or LOGFONT is not a TrueType font and cannot be used with GDI+. |
UnsupportedGdiplusVersion | Indicates that the version of GDI+ that is installed on the system is incompatible with the version with which the application was compiled. |
GdiplusNotInitialized | Indicates that the GDI+API is not in an initialized state. To function, all GDI+ objects require that GDI+ be in an initialized state. Initialize GDI+ by calling GdiplusStartup. |
PropertyNotFound | Indicates that the specified property does not exist in the image. |
PropertyNotSupported | Indicates that the specified property is not supported by the format of the image and, therefore, cannot be set. |
ProfileNotFound | Indicates that the color profile required to save an image in CMYK format was not found. |