Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

GetVPModeID

Get the 32 bit DisplayID from a ViewPort.

Declaration

Source position: agraphics.pas line 2331

function GetVPModeID(

  const vp: pViewPort

):LongInt;

Arguments

vp

  

A pointer to a ViewPort structure.

Function result

A 32 bit DisplayInfoRecord identifier associated with this ViewPort, or INVALID_ID.

Description

Returns the normal display modeID, if one is currently associated with this ViewPort. Test the return value of this function against INVALID_ID, not nil.

See also

ModeNotAvailable

  

Check to see if a DisplayID isn't available.


Documentation generated on: 2021-07-30