In NT7 I was using:
graphics.MeasureString(convertDoublePrice(prevVal) ,txtFont).Width)
So far in NT8 I have:
SharpDX.DirectWrite.TextMetrics(convertDoublePrice (prevVal),txtFont).Width)
which gives a compile error of:
SharpDX.DirectWrite.TextMetrics is a 'type' which is not valid in the given context.
Could someone please point in the correct direction. SharpDX is completely new to me.
Comment