RenderTargetBitmap(Int32, Int32, Double, Double, PixelFormat) Constructor
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.
Initializes a new instance of the RenderTargetBitmap class that has the specified parameters.
public:
RenderTargetBitmap(int pixelWidth, int pixelHeight, double dpiX, double dpiY, System::Windows::Media::PixelFormat pixelFormat);
[System.Security.SecurityCritical]
public RenderTargetBitmap (int pixelWidth, int pixelHeight, double dpiX, double dpiY, System.Windows.Media.PixelFormat pixelFormat);
public RenderTargetBitmap (int pixelWidth, int pixelHeight, double dpiX, double dpiY, System.Windows.Media.PixelFormat pixelFormat);
[<System.Security.SecurityCritical>]
new System.Windows.Media.Imaging.RenderTargetBitmap : int * int * double * double * System.Windows.Media.PixelFormat -> System.Windows.Media.Imaging.RenderTargetBitmap
new System.Windows.Media.Imaging.RenderTargetBitmap : int * int * double * double * System.Windows.Media.PixelFormat -> System.Windows.Media.Imaging.RenderTargetBitmap
Public Sub New (pixelWidth As Integer, pixelHeight As Integer, dpiX As Double, dpiY As Double, pixelFormat As PixelFormat)
Parameters
- pixelWidth
- Int32
The width of the bitmap.
- pixelHeight
- Int32
The height of the bitmap.
- dpiX
- Double
The horizontal DPI of the bitmap.
- dpiY
- Double
The vertical DPI of the bitmap.
- pixelFormat
- PixelFormat
The format of the bitmap.
- Attributes
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.