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 > 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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also