←Select platform

PreserveObjectColor Property

Summary

Gets or sets a value that represents the color of the area to be preserved. To be preserved, the color has to be different than colors in image.

Syntax
C#
VB
C++
public RasterColor PreserveObjectColor { get; set; } 
  
Public Property PreserveObjectColor As RasterColor 
public: 
property RasterColor PreserveObjectColor { 
   RasterColor get(); 
   void set (    RasterColor ); 
} 

Property Value

RasterColor value that specifies color of the area in the mask image. To be removed the color has to be different than the rest of the image colors. If no remove color exist, then pass null.

Example

Refer to IntelligentDownScaleCommand.

Requirements

Target Platforms

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

Leadtools.ImageProcessing.SpecialEffects Assembly