Bitmap.ConvertFormat 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.
Overloads
ConvertFormat(PixelFormat) | |
ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette, Single) |
ConvertFormat(PixelFormat)
- Source:
- Bitmap.cs
- Source:
- 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)
Parameters
- format
- PixelFormat
Applies to
ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette, Single)
- Source:
- Bitmap.cs
- Source:
- 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)
Parameters
- format
- PixelFormat
- ditherType
- DitherType
- paletteType
- PaletteType
- palette
- ColorPalette
- alphaThresholdPercent
- Single
Applies to
Sadarbojieties ar mums vietnē GitHub
Šī satura avotu var atrast vietnē GitHub, kur varat arī izveidot un pārskatīt problēmas un atgādāšanas pieprasījumus. Lai iegūtu papildinformāciju, skatiet mūsu līdzstrādnieku rokasgrāmatu.
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par