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



Determines whether to load the mask image when loading PSD files with RasterCodecs.LoadPsdLayer.

Syntax

Visual Basic (Declaration) 
Public Property LoadMaskImage As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsPsdLayerInfo
Dim value As Boolean
 
instance.LoadMaskImage = value
 
value = instance.LoadMaskImage
C# 
public bool LoadMaskImage {get; set;}
C++/CLI 
public:
property bool LoadMaskImage {
   bool get();
   void set (    bool value);
}

Property Value

true load to load the mask image when loading PSD files with RasterCodecs.LoadPsdLayer; otherwise, false.

Example

Remarks

When tha value of this property is true and you call RasterCodecs.LoadPsdLayer to load a PSD file, then the transparency mask channel image will bei in the MaskImage property.

This property is not used when calling RasterCodecs.SavePsdWithLayers to save a PSD file.

Default value is true.

For more information, 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