Bitmap.ConvertFormat 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ConvertFormat(PixelFormat) | |
ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette, Single) |
ConvertFormat(PixelFormat)
- 來源:
- Bitmap.cs
- 來源:
- Bitmap.cs
public:
void ConvertFormat(System::Drawing::Imaging::PixelFormat format);
public void ConvertFormat (System.Drawing.Imaging.PixelFormat format);
member this.ConvertFormat : System.Drawing.Imaging.PixelFormat -> unit
Public Sub ConvertFormat (format As PixelFormat)
參數
- format
- PixelFormat
適用於
ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette, Single)
- 來源:
- Bitmap.cs
- 來源:
- Bitmap.cs
public void ConvertFormat (System.Drawing.Imaging.PixelFormat format, System.Drawing.Imaging.DitherType ditherType, System.Drawing.Imaging.PaletteType paletteType = System.Drawing.Imaging.PaletteType.Custom, System.Drawing.Imaging.ColorPalette? palette = default, float alphaThresholdPercent = 0);
member this.ConvertFormat : System.Drawing.Imaging.PixelFormat * System.Drawing.Imaging.DitherType * System.Drawing.Imaging.PaletteType * System.Drawing.Imaging.ColorPalette * single -> unit
Public Sub ConvertFormat (format As PixelFormat, ditherType As DitherType, Optional paletteType As PaletteType = System.Drawing.Imaging.PaletteType.Custom, Optional palette As ColorPalette = Nothing, Optional alphaThresholdPercent As Single = 0)
參數
- format
- PixelFormat
- ditherType
- DitherType
- paletteType
- PaletteType
- palette
- ColorPalette
- alphaThresholdPercent
- Single