ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 String, _
       ByVal stringLength As Integer, _
       ByVal textFormat As TextFormat, _
       ByVal layoutWidth As Single, _
       ByVal layoutHeight As Single, _
       ByVal pixelsPerDip As Single, _
       ByVal transform As Nullable(Of Matrix3x2), _
       ByVal useGdiNatural As Bool _
    ) As TextLayout1
    public TextLayout1 CreateGdiCompatibleTextLayout1( 
       string text,
       int stringLength,
       TextFormat textFormat,
       float layoutWidth,
       float layoutHeight,
       float pixelsPerDip,
       Nullable<Matrix3x2> transform,
       Bool useGdiNatural
    )

    Parameters

    text
    stringLength
    textFormat
    layoutWidth
    layoutHeight
    pixelsPerDip
    transform
    useGdiNatural
    See Also