ComponentOne Bitmap for WinForms
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
    public TextLayout1 CreateGdiCompatibleTextLayout1( 
       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