Represents PSD raster layer.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill.Codecs.AdvancedPsd (in Aurigma.GraphicsMill.Codecs.AdvancedPsd.dll)
Public Class AdvancedPsdFrame _ Inherits Frame
public class AdvancedPsdFrame : Frame
Raster layers are base kind of PSD layers. Even text layers can be represented as raster ones. PSD file always keeps the rasterized version of such layer and the information like text string, font settings, etc. are kept as a metadata of the layer.
To be able to distinguish raster layers from text layers, use the Type property. If it equals to Text, you should cast this layer to AdvancedPsdTextFrame.
PSD file can store such layers which cannot be recognized by Advanced PSD add-on. For example, it cannot handle adjustment layers, vector masks, etc. In this case the Type property will equal to Unknown. It makes sense to verify the type of the layer before you try to extract anything from it to avoid unknown layers.