IDWriteTextFormat::SetTrimming Method
Sets trimming options for text overflowing the layout width.
Syntax
virtual HRESULT SetTrimming(
[in] const DWRITE_TRIMMING * trimmingOptions,
IDWriteInlineObject * trimmingSign
) = 0;
Parameter
trimmingOptions [in]
Text trimming options.trimmingSign
Application-defined omission sign. This parameter may be NULL. See IDWriteInlineObject for more information.
Rückgabewert
Ist Methode erfolgreich, wird "S_OK" zurückgegeben. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.
Anforderungen
Mindestens unterstützter Client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 |
Header |
Dwrite.h |
Bibliothek |
Dwrite.lib |
DLL |
Dwrite.dll |