Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Creates an object that encapsulates a bitmap and memory DC (device context) which can be used for rendering glyphs.
Syntax
HRESULT CreateBitmapRenderTarget(
[in, optional] HDC hdc,
UINT32 width,
UINT32 height,
[out] IDWriteBitmapRenderTarget **renderTarget
);
Parameters
[in, optional] hdc
Type: HDC
A handle to the optional device context used to create a compatible memory DC (device context).
width
Type: UINT32
The width of the bitmap render target.
height
Type: UINT32
The height of the bitmap render target.
[out] renderTarget
Type: IDWriteBitmapRenderTarget**
When this method returns, contains an address of a pointer to the newly created IDWriteBitmapRenderTarget object.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | dwrite.h |
| Library | Dwrite.lib |
| DLL | Dwrite.dll |