Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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;}
Managed Extensions for C++ 
public: __property int get_Layers();
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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also