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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.