ComponentOne Bitmap for WPF
GetGdiCompatibleGlyphPlacements(String,Int16[],ShapingTextProperties[],Int32,Int16[],ShapingGlyphProperties[],Int32,FontFace,Single,Single,Nullable<Matrix3x2>,Bool,Bool,Bool,ScriptAnalysis,String,IntPtr,Int32[],Int32,Single[],GlyphOffset[]) Method

C1.WPF.DX.4 Assembly > C1.Util.DX.DirectWrite Namespace > TextAnalyzer Class > GetGdiCompatibleGlyphPlacements Method : GetGdiCompatibleGlyphPlacements(String,Int16[],ShapingTextProperties[],Int32,Int16[],ShapingGlyphProperties[],Int32,FontFace,Single,Single,Nullable<Matrix3x2>,Bool,Bool,Bool,ScriptAnalysis,String,IntPtr,Int32[],Int32,Single[],GlyphOffset[]) Method
HRESULT IDWriteTextAnalyzer::GetGdiCompatibleGlyphPlacements([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] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[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 GetGdiCompatibleGlyphPlacements( _
   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 pixelsPerDip As System.Single, _
   ByVal transform As System.Nullable(Of Matrix3x2), _
   ByVal useGdiNatural As Bool, _
   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 GetGdiCompatibleGlyphPlacements( 
   System.string textString,
   System.short[] clusterMap,
   ShapingTextProperties[] textProps,
   System.int textLength,
   System.short[] glyphIndices,
   ShapingGlyphProperties[] glyphProps,
   System.int glyphCount,
   FontFace fontFace,
   System.float fontEmSize,
   System.float pixelsPerDip,
   System.Nullable<Matrix3x2> transform,
   Bool useGdiNatural,
   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
pixelsPerDip
transform
useGdiNatural
isSideways
isRightToLeft
scriptAnalysis
localeName
features
featureRangeLengths
featureRanges
glyphAdvances
glyphOffsets
See Also

Reference

TextAnalyzer Class
TextAnalyzer Members
Overload List