C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / Factory Class / CreateGdiCompatibleTextLayout1 Method

In This Topic
CreateGdiCompatibleTextLayout1 Method
In This Topic
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)
Syntax
'Declaration
 
Public Function CreateGdiCompatibleTextLayout1( _
   ByVal text As System.String, _
   ByVal stringLength As System.Integer, _
   ByVal textFormat As TextFormat, _
   ByVal layoutWidth As System.Single, _
   ByVal layoutHeight As System.Single, _
   ByVal pixelsPerDip As System.Single, _
   ByVal transform As System.Nullable(Of Matrix3x2), _
   ByVal useGdiNatural As Bool _
) As TextLayout1
 

Parameters

text
stringLength
textFormat
layoutWidth
layoutHeight
pixelsPerDip
transform
useGdiNatural
See Also