IDWriteTextFormat::GetTrimming Method
Gets the trimming options for text that overflows the layout box.
Syntax
virtual HRESULT GetTrimming(
[out] DWRITE_TRIMMING * trimmingOptions,
[out] IDWriteInlineObject ** trimmingSign
) = 0;
Parameter
trimmingOptions [out]
When this method returns, it contains a pointer to a DWRITE_TRIMMING structure that holds the text trimming options for the overflowing text.trimmingSign [out]
When this method returns, contains an address of a pointer to a trimming omission sign. This parameter may be NULL.
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 |