PICTURE_PROPS Service
Description
Returns information about an OLE Picture object created via the Utility LOAD_PICTURE service.
Note: This is a Windows only function.
Parameters
Parameter | Description |
---|---|
<object> | (Required) the OLE interface pointer returned from the LOAD_PICTURE service. |
Returns
A dynamic array of picture information extracted via it's internal IPicture interface (See the Microsoft documentation for more information on these fields).
<1> Handle
<2> HPal
<3> Type
<4> Width (HIMETRIC format - NOT pixels!)
<5> Height (HIMETRIC format - NOT pixels!)
<6> HDC
<7> KeepOriginalFormat
<8> Attributes
See Also
BEEP Service
DESTROY Service
REMOVEDIR Service
CHOOSECOLOR Service
FLUSH Service
RENAMEDIR Service
CHOOSEDIR Service
GET_EVENT Service
RENAMEFILE Service
CHOOSEFILE Service
GETLOGICALDRIVES Service
RUNHELP Service
CHOOSEFONT Service
MAKEDIR Service
RUNWIN Service
COPYFILE Service
OBJECTID Service
TEXTRECT Service
CREATE Service
OBJECTLIST Service
WINCOUNT Service
CURSOR Service
PRINTSETUP Service
Utility function
HANDLE_BY_CURSOR Service
IUNKNOWN_RELEASE Service
LOAD_PICTURE Service
OBJECT_BY_CURSOR Service
PICTURE_PROPS Service
Example
// Load a OLE Picture object bmpFile = ".\bmps\somepic.bmp" pPicture = Utility( "LOAD_PICTURE", bmpFile ) // Do something with the picture object picInfo = Utility( "PICTURE_PROPS", pPicture ) picType = picInfo<3> ; * // PICTYPE // Call it's release method call Utility( "IUNKNOWN_RELEASE", pPicture )