Visual Basic (Declaration) | |
---|---|
Public Property GreenFactor As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int GreenFactor {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_GreenFactor(); public: __property void set_GreenFactor( int value ); |
XAML Attributes Usage | |
---|---|
<object GreenFactor =int > |
Dependency Property Information | |
---|---|
Identifier field | GreenFactorProperty |
Metadata properties set to true | None |
Return Value
Value that represents the percentage or weight given to the green 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, and Windows Server 2003