guides:programming:programmers_reference_manual:picture_props_service

PICTURE_PROPS Service

Returns information about an OLE Picture object created via the Utility LOAD_PICTURE service.

Note: This is a Windows only function.

ParameterDescription
<object>(Required) the OLE interface pointer returned from the LOAD_PICTURE service.

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

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

// 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 )
  • guides/programming/programmers_reference_manual/picture_props_service.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1