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

IPTCSurface.Copy

Copies the contents of this surface to another surface.

Declaration

Source position: line 0

procedure IPTCSurface.Copy(

  ASurface: IPTCSurface

);

procedure IPTCSurface.Copy(

  ASurface: IPTCSurface;

  ASource: IPTCArea;

  ADestination: IPTCArea

);

Arguments

ASurface

  

The destination surface.

Arguments

ASurface

  

The destination surface.

ASource

  

The source area.

ADestination

  

The destination area.

Description

If no areas are specified, copies the entire contents of this surface to the other surface specified in the ASurface parameter. If areas are specified, copies an area of this surface to an area of the other surface specified in the ASurface parameter. The source and destination areas are clipped to the clip areas of both surfaces.

Errors

TPTCError - a TPTCError exception is raised on failure.