Visual Basic (Declaration) | |
---|---|
Public Property NewColor As Color() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Color[] NewColor {get; set;} |
C++/CLI | |
---|---|
public: property array<Color>^ NewColor { array<Color>^ get(); void set (Colorarray<value>^ value); } |
XAML Syntax | |
---|---|
cannot be used in XAML directly.Instead use x:Array Markup Extension. |
XAML Attributes Usage | |
---|---|
<object Color =Color > |
Dependencies Property Information | |
---|---|
Identifier field | NewColorProperty |
Metadata properties set to true | None |
XAML Syntax | |
---|---|
cannot be used in XAML directly.Instead use x:Array Markup Extension. |
XAML Attributes Usage | |
---|---|
<object Color =Color > |
Dependencies Property Information | |
---|---|
Identifier field | NewColorProperty |
Metadata properties set to true | None |
Return Value
Array of Color structures that specifies an array of colors that will be mixed with the original gray values. If this parameter is set to null, the Color property must contain a valid color. Pass null when you want the command to create the array of colors, two colors when replacing both colors in a binary image, or 256 colors when using a custom array of colors.Run the GrayScaleToDuotoneCommandBitmapEffect on an image.
Visual Basic | Copy Code |
---|---|
' Run the GrayScaleToDuetone command on an image. |
C# | Copy Code |
---|---|
//Run the GrayScaleToDuotone command on an image |
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family