Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new ID2D1InkStyle object, for use with ink rendering methods such as DrawInk.
Syntax
HRESULT CreateInkStyle(
  [ref] const D2D1_INK_STYLE_PROPERTIES *inkStyleProperties,
  [out] ID2D1InkStyle                   **inkStyle
);
Parameters
[ref] inkStyleProperties
Type: const D2D1_INK_STYLE_PROPERTIES
The properties of the ink style to be created.
[out] inkStyle
Type: ID2D1InkStyle**
When this method returns, contains the address of a pointer to a new ink style object.
Return value
Type: HRESULT
S_OK if successful, otherwise a failure HRESULT.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 10 [desktop apps | UWP apps] | 
| Minimum supported server | Windows Server 2016 [desktop apps | UWP apps] | 
| Target Platform | Windows | 
| Header | d2d1_3.h | 
| DLL | D2d1.dll |