[Overview][Constants][Types][Classes][Index] Reference for unit 'ptc' (#ptc)

IPTCSurface.Area

Gets the area of the surface.

Declaration

Source position: basesurfaced.inc line 76

property IPTCSurface.Area: IPTCArea
  read GetArea;

Description

Gets the area of the surface.

The surface area is calculated as (0, 0, surface.Width, surface.Height).

Errors

TPTCError - a TPTCError exception is raised on failure.