←Select platform

Layers Property

Summary
Gets the number of layers in the PSD file.
Syntax
C#
VB
C++
Java
public int Layers {get;} 
Public ReadOnly Property Layers As Integer 
public int getLayers() 
public: 
property int Layers { 
   int get(); 
} 

Property Value

An integer value that represents the number of layers in the PSD file.

Remarks

If this value is 0, then the PSD file does not contain any layers.

For more information on PSD layers, refer to the FILE FORMATS SPECIFICATION from Adobe.

Example

For an example, refer to CodecsImageInfo.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.