DioDocs for PDF
AdjustLevels メソッド (GrayscaleBitmap)

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Imaging 名前空間 > GrayscaleBitmap クラス : AdjustLevels メソッド
The input black point (from 0 to 255).
The input white point (from 0 to 255).
The output black point (from 0 to 255).
The output white point (from 0 to 255).
The value of gamma correction.
Adjusts the levels of an image histogram.

The method maps the input range of values (blackPoint..whitePoint) to the output range (outputBlack..outputWhite) using the specified gamma correction (midtone).

シンタックス
'宣言
 
Public Sub AdjustLevels( _
   ByVal blackPoint As System.Integer, _
   ByVal whitePoint As System.Integer, _
   ByVal outputBlack As System.Integer, _
   ByVal outputWhite As System.Integer, _
   Optional ByVal midtone As System.Single _
) 
public void AdjustLevels( 
   System.int blackPoint,
   System.int whitePoint,
   System.int outputBlack,
   System.int outputWhite,
   System.float midtone
)

パラメータ

blackPoint
The input black point (from 0 to 255).
whitePoint
The input white point (from 0 to 255).
outputBlack
The output black point (from 0 to 255).
outputWhite
The output white point (from 0 to 255).
midtone
The value of gamma correction.
参照

GrayscaleBitmap クラス
GrayscaleBitmap メンバ