Visual Basic (Declaration) | |
---|---|
Public Property RedAmplitude As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int RedAmplitude {get; set;} |
XAML Attributes Usage | |
---|---|
<object RedAmplitude =int > |
Dependencies Property Information | |
---|---|
Identifier field | RedAmplitudeProperty |
Metadata properties set to true | None |
XAML Attributes Usage | |
---|---|
<object RedAmplitude =int > |
Dependencies Property Information | |
---|---|
Identifier field | RedAmplitudeProperty |
Metadata properties set to true | None |
Return Value
If the image is grayscale, this property represents the amplitude of the master channel. If the image is color and the FunctionalLightCommandBitmapEffectsFlags.Multiply or FunctionalLightCommandBitmapEffectsFlags.LinearQuadratic flags are set, this property represents the amplitude of each channel. If the image is color and FunctionalLightCommandBitmapEffectsFlags.Addition flag is used, this represents the amplitude of the red channel. This value is an integer with a value greater than or equal to 0. This value will be multiplied with the results of the selected function (sine, cosine, user buffer , …). The results of the multiplications are then added to the pixel values. These functions as well as the real buffer values are from –1 to 1. Possible values for this property are from 0–100.For XAML example, refer to FunctionalLightCommandBitmapEffect.
For C#/VB examples, refer to FunctionalLightCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family