ComponentOne Bitmap for WPF
CreateGdiCompatibleTextLayout Method

C1.WPF.DX.4 Assembly > C1.Util.DX.DirectWrite Namespace > Factory Class : CreateGdiCompatibleTextLayout Method
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 CreateGdiCompatibleTextLayout( _
   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 TextLayout
public TextLayout CreateGdiCompatibleTextLayout( 
   System.string text,
   System.int stringLength,
   TextFormat textFormat,
   System.float layoutWidth,
   System.float layoutHeight,
   System.float pixelsPerDip,
   System.Nullable<Matrix3x2> transform,
   Bool useGdiNatural
)

Parameters

text
stringLength
textFormat
layoutWidth
layoutHeight
pixelsPerDip
transform
useGdiNatural
See Also

Reference

Factory Class
Factory Members