FarPoint.Win アセンブリ > FarPoint.Win.DPISupporting 名前空間 > DPIUtils クラス : ScaleBitmap メソッド |
'Declaration Public Shared Function ScaleBitmap( _ ByVal originalBitmap As Bitmap, _ ByVal scaleFactor As Single, _ ByVal prescaleProcessing As IBitmapProcessing, _ ByVal postscaleProcessing As IBitmapProcessing _ ) As Bitmap
'使用法 Dim originalBitmap As Bitmap Dim scaleFactor As Single Dim prescaleProcessing As IBitmapProcessing Dim postscaleProcessing As IBitmapProcessing Dim value As Bitmap value = DPIUtils.ScaleBitmap(originalBitmap, scaleFactor, prescaleProcessing, postscaleProcessing)
public static Bitmap ScaleBitmap( Bitmap originalBitmap, float scaleFactor, IBitmapProcessing prescaleProcessing, IBitmapProcessing postscaleProcessing )