Visual Basic (Declaration) | |
---|---|
Public Property RedFactor As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int RedFactor {get; set;} |
XAML Attributes Usage | |
---|---|
<object RedFactor =int > |
Dependencies Property Information | |
---|---|
Identifier field | RedFactorProperty |
Metadata properties set to true | None |
XAML Attributes Usage | |
---|---|
<object RedFactor =int > |
Dependencies Property Information | |
---|---|
Identifier field | RedFactorProperty |
Metadata properties set to true | None |
Return Value
Value that represents the percentage or weight given to the red value of each pixel in the image. Possible values are 0 to 1000.For XAML example, refer to ConvertToColoredGrayCommandBitmapEffect.
For C#/VB examples, refer to ConvertToColoredGrayCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family