PictureFormat.IncrementContrast(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes the contrast of the picture by the specified amount.
public:
void IncrementContrast(float Increment);
public void IncrementContrast (float Increment);
Public Sub IncrementContrast (Increment As Single)
Parameters
- Increment
- Single
Required Single. Specifies how much to change the value of the Contrast property for the picture. A positive value increases the contrast; a negative value decreases the contrast.
Remarks
Use the Contrast property to set the absolute contrast for the picture.
You cannot adjust the contrast of a picture past the upper or lower limit for the Contrast property. For example, if the Contrast property is initially set to 0.9 and you specify 0.3 for the Increment
argument, the resulting contrast level will be 1.0, which is the upper limit for the Contrast property, instead of 1.2.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應