[]
        
(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)
Parameters
Type Name Description
string text
int stringLength
TextFormat textFormat
float layoutWidth
float layoutHeight
float pixelsPerDip
Matrix3x2? transform
Bool useGdiNatural
Returns
Type Description
TextLayout