Visual Basic (Declaration) | |
---|---|
Public Property RedGrayFactor As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int RedGrayFactor {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_RedGrayFactor(); public: __property void set_RedGrayFactor( int value ); |
XAML Attributes Usage | |
---|---|
<object RedGrayFactor =int > |
Dependency Property Information | |
---|---|
Identifier field | RedGrayFactorProperty |
Metadata properties set to true | None |
Return Value
Additional weighting factor (percentage) used to modify the red component in the output pixel. This value can be negative. Possible values are -1000 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, and Windows Server 2003