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

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

See Also