Freigeben über


IDWriteFactory::CreateEllipsisTrimmingSign Method

Creates an inline object for trimming, using an ellipsis as the omission sign.

Syntax

virtual HRESULT CreateEllipsisTrimmingSign(
  IDWriteTextFormat * textFormat,
  [out]  IDWriteInlineObject ** trimmingSign
) = 0;

Parameter

  • textFormat
    A text format object, created with CreateTextFormat, used for text layout.

  • trimmingSign [out]
    When this method returns, contains an address of a pointer to the omission (that is, ellipsis trimming) sign created by this method.

Rückgabewert

Ist Methode erfolgreich, wird "S_OK" zurückgegeben. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.

Hinweise

The ellipsis will be created using the current settings of the format, including base font, style, and any effects. Alternate omission signs can be created by the application by implementing IDWriteInlineObject.

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

Siehe auch

IDWriteFactory