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 > IntelligentUpScaleCommand Class : PreserveObjectColor Property



Gets or sets a value that represents the color of the preserve color area in order.

Syntax

Visual Basic (Declaration)  
Public Property PreserveObjectColor As RasterColor
Visual Basic (Usage) Copy Code
Dim instance As IntelligentUpScaleCommand
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 in order to be removed and it has to be different than the rest of the image colors. If no remove color exist, then pass null.

Example

Remarks

Reserves the color for exclusive use.

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