Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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;}
Managed Extensions for C++ 
public: __property bool get_LoadMaskImage();
public: __property void set_LoadMaskImage( 
   bool value
);
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 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