LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Layers Property
See Also 
Leadtools.Codecs Namespace > CodecsPsdImageInfo Class : Layers Property



Gets the number of layers in the PSD file.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Layers As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsPsdImageInfo
Dim value As Integer
 
value = instance.Layers
C# 
public int Layers {get;}
C++/CLI 
public:
property int Layers {
   int get();
}

Property Value

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

Example

For an example, refer to CodecsImageInfo.

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.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also