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

Return 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also