Share via


ID2D1CommandSink::SetTextAntialiasMode-Methode (d2d1_1.h)

Gibt den neuen Standard-Antialiasingmodus für Text an.

Syntax

HRESULT SetTextAntialiasMode(
  D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode
);

Parameter

textAntialiasMode

Typ: D2D1_TEXT_ANTIALIAS_MODE

Der Antialiasingmodus für den Text.

Rückgabewert

Typ: HRESULT

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Wenn ein Fehler auftritt, wird ein HRESULT-Fehlercode zurückgegeben.

Anforderungen

   
Unterstützte Mindestversion (Client) Windows 8 und Plattformupdate für Windows 7 [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Windows Server 2012 und Plattformupdate für Windows Server 2008 R2 [Desktop-Apps | UWP-Apps]
Zielplattform Windows
Kopfzeile d2d1_1.h
DLL D2d1.dll

Weitere Informationen

ID2D1CommandList::Stream

ID2D1CommandSink

ID2D1RenderTarget::SetTextAntialiasMode