Freigeben über


IDWriteTextFormat::SetParagraphAlignment Method

Sets the alignment option of a paragraph relative to the layout box's top and bottom edge.

Syntax

virtual HRESULT SetParagraphAlignment(
  DWRITE_PARAGRAPH_ALIGNMENT  paragraphAlignment
) = 0;

Parameter

  • paragraphAlignment
    The paragraph alignment option being set for a paragraph; see DWRITE_PARAGRAPH_ALIGNMENT 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

Siehe auch

IDWriteTextFormat