←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
WinRT C#
C++
public RasterColor PreserveObjectColor { get; set; } 
  
Public Property PreserveObjectColor As Leadtools.RasterColor 
public Leadtools.RasterColor PreserveObjectColor {get; set;} 
  
get_PreserveObjectColor(); 
set_PreserveObjectColor(value); 
Object.defineProperty('PreserveObjectColor');  
public: 
property Leadtools.RasterColor PreserveObjectColor { 
   Leadtools.RasterColor get(); 
   void set (    Leadtools.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly