ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / TextAnalyzer Class / GetGlyphPlacements Method / GetGlyphPlacements(String,Int16[],ShapingTextProperties[],Int32,Int16[],ShapingGlyphProperties[],Int32,FontFace,Single,Bool,Bool,ScriptAnalysis,String,IntPtr,Int32[],Int32,Single[],GlyphOffset[]) Method

In This Topic
    GetGlyphPlacements(String,Int16[],ShapingTextProperties[],Int32,Int16[],ShapingGlyphProperties[],Int32,FontFace,Single,Bool,Bool,ScriptAnalysis,String,IntPtr,Int32[],Int32,Single[],GlyphOffset[]) Method
    In This Topic
    HRESULT IDWriteTextAnalyzer::GetGlyphPlacements([In, Buffer] const wchar_t* textString,[In, Buffer] const unsigned short* clusterMap,[In, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[In] unsigned int textLength,[In, Buffer] const unsigned short* glyphIndices,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[In] unsigned int glyphCount,[In] IDWriteFontFace* fontFace,[In] float fontEmSize,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Optional] const wchar_t* localeName,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[Out, Buffer] float* glyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* glyphOffsets)
    Syntax
    'Declaration
     
    Public Overloads Sub GetGlyphPlacements( _
       ByVal textString As System.String, _
       ByVal clusterMap() As System.Short, _
       ByVal textProps() As ShapingTextProperties, _
       ByVal textLength As System.Integer, _
       ByVal glyphIndices() As System.Short, _
       ByVal glyphProps() As ShapingGlyphProperties, _
       ByVal glyphCount As System.Integer, _
       ByVal fontFace As FontFace, _
       ByVal fontEmSize As System.Single, _
       ByVal isSideways As Bool, _
       ByVal isRightToLeft As Bool, _
       ByVal scriptAnalysis As ScriptAnalysis, _
       ByVal localeName As System.String, _
       ByVal features As System.IntPtr, _
       ByVal featureRangeLengths() As System.Integer, _
       ByVal featureRanges As System.Integer, _
       ByVal glyphAdvances() As System.Single, _
       ByVal glyphOffsets() As GlyphOffset _
    ) 
    public void GetGlyphPlacements( 
       System.string textString,
       System.short[] clusterMap,
       ShapingTextProperties[] textProps,
       System.int textLength,
       System.short[] glyphIndices,
       ShapingGlyphProperties[] glyphProps,
       System.int glyphCount,
       FontFace fontFace,
       System.float fontEmSize,
       Bool isSideways,
       Bool isRightToLeft,
       ScriptAnalysis scriptAnalysis,
       System.string localeName,
       System.IntPtr features,
       System.int[] featureRangeLengths,
       System.int featureRanges,
       System.float[] glyphAdvances,
       GlyphOffset[] glyphOffsets
    )

    Parameters

    textString
    clusterMap
    textProps
    textLength
    glyphIndices
    glyphProps
    glyphCount
    fontFace
    fontEmSize
    isSideways
    isRightToLeft
    scriptAnalysis
    localeName
    features
    featureRangeLengths
    featureRanges
    glyphAdvances
    glyphOffsets
    See Also