Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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();
}

Return 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also