[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.GetViewPortOrgEx

Returns the origin of the viewport of an device context.

Declaration

Source position: winapih.inc line 156

public function TWidgetSet.GetViewPortOrgEx(

  DC: HDC;

  P: PPoint

):Integer; virtual;

Arguments

P

  

Receives the viewport origin.

Function result

False (zero) on failure.

See also

TWidgetSet.SetViewPortOrgEx

  

Sets the device origin corresponding to the window origin (0,0) in an device context.

TWidgetSet.GetViewPortExtEx

  

Returns the size of the viewport of an device context.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.