LayerTop property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int LayerTop[int iLayer]

Delphi Syntax

LayerTop [iLayer: integer]: Integer

Overview

Refer to Layers in Files

Remarks

When iLayer is 0, LayerLeft [0] is a read-only property and contains information that was last read from the file using the LoadLayer method.

When iLayer is > 0, then LayerTop [iLayer] contains positioning information for the layers that will be saved in the file. In this case, LayerTop [iLayer] contains the top offset for layer iLayer. It is the corresponding offset for element iLayer in the bitmap list.

This information will be used the next time the Save method is called to save a PSD file.

See Also

Elements:

LayerLeft property, Save method, SaveLayers property, LayerOpacity property, LayerClipping property, LayerBlendModeKey property, LayerMaskBitmap property

Topics:

Raster Images: Saving Files