[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.Factory.CreateGdiCompatibleTextLayout

CreateGdiCompatibleTextLayout Method

CreateGdiCompatibleTextLayout(string, int, TextFormat, float, float, float, Matrix3x2?, Bool)

HRESULT IDWriteFactory::CreateGdiCompatibleTextLayout([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] float layoutWidth,[In] float layoutHeight,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[Out, Fast] IDWriteTextLayout** textLayout)

Declaration
public TextLayout CreateGdiCompatibleTextLayout(string text, int stringLength, TextFormat textFormat, float layoutWidth, float layoutHeight, float pixelsPerDip, Matrix3x2? transform, Bool useGdiNatural)
Public Function CreateGdiCompatibleTextLayout(text As String, stringLength As Integer, textFormat As TextFormat, layoutWidth As Single, layoutHeight As Single, pixelsPerDip As Single, transform As Matrix3x2?, useGdiNatural As Bool) As TextLayout
Parameters
Type Name Description
string text
int stringLength
TextFormat textFormat
float layoutWidth
float layoutHeight
float pixelsPerDip
Matrix3x2? transform
Bool useGdiNatural
Returns
Type Description
TextLayout