LEADTOOLS Image Processing (Leadtools.ImageProcessing.SpecialEffects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PreserveObjectColor Property
See Also 
Leadtools.ImageProcessing.SpecialEffects Namespace > IntelligentDownScaleCommand Class : PreserveObjectColor Property



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

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

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also