ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / TextAnalyzer1 Class / ApplyCharacterSpacing Method

In This Topic
    ApplyCharacterSpacing Method
    In This Topic
    HRESULT IDWriteTextAnalyzer1::ApplyCharacterSpacing([In] float leadingSpacing,[In] float trailingSpacing,[In] float minimumAdvanceWidth,[In] unsigned int textLength,[In] unsigned int glyphCount,[In, Buffer] const unsigned short* clusterMap,[In, Buffer] const float* glyphAdvances,[In, Buffer] const DWRITE_GLYPH_OFFSET* glyphOffsets,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProperties,[Out, Buffer] float* modifiedGlyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* modifiedGlyphOffsets)
    Syntax
    'Declaration
     
    Public Sub ApplyCharacterSpacing( _
       ByVal leadingSpacing As System.Single, _
       ByVal trailingSpacing As System.Single, _
       ByVal minimumAdvanceWidth As System.Single, _
       ByVal textLength As System.Integer, _
       ByVal glyphCount As System.Integer, _
       ByVal clusterMap() As System.Short, _
       ByVal glyphAdvances() As System.Single, _
       ByVal glyphOffsets() As GlyphOffset, _
       ByVal glyphProperties() As ShapingGlyphProperties, _
       ByVal modifiedGlyphAdvances() As System.Single, _
       ByVal modifiedGlyphOffsets() As GlyphOffset _
    ) 
    public void ApplyCharacterSpacing( 
       System.float leadingSpacing,
       System.float trailingSpacing,
       System.float minimumAdvanceWidth,
       System.int textLength,
       System.int glyphCount,
       System.short[] clusterMap,
       System.float[] glyphAdvances,
       GlyphOffset[] glyphOffsets,
       ShapingGlyphProperties[] glyphProperties,
       System.float[] modifiedGlyphAdvances,
       GlyphOffset[] modifiedGlyphOffsets
    )

    Parameters

    leadingSpacing
    trailingSpacing
    minimumAdvanceWidth
    textLength
    glyphCount
    clusterMap
    glyphAdvances
    glyphOffsets
    glyphProperties
    modifiedGlyphAdvances
    modifiedGlyphOffsets
    See Also