←Select platform

LoadMaskImage Property

Summary
Determines whether to load the mask image when loading PSD files with RasterCodecs.LoadPsdLayer.
Syntax
C#
VB
C++
public bool LoadMaskImage { get; set; } 
Public Property LoadMaskImage As Boolean 
public: 
property bool LoadMaskImage { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

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

Remarks

When the value of this property is true and you call RasterCodecs.LoadPsdLayer to load a PSD file, then the transparency mask channel image will be 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.

Example

For an example, refer to RasterCodecs.LoadPsdLayer and RasterCodecs.SavePsdWithLayers.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.