Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription
<object>(Required) the OLE interface pointer returned from the LOAD_PICTURE service.
ReturnvalueA 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

Example

Code Block
// 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 )