Home > Back-end >  GDI MeasureString character spacing problems.
GDI MeasureString character spacing problems.

Time:09-17

One of my project to character width requirement is very high, the function to obtain the width, a string of characters on both ends of the interval and the spacing between characters is not the same, as shown in figure,
I want to make 1)=2), and draw the text can also make it a pair equal, how should do?

CodePudding user response:

Done, I was in the drawing

CodePudding user response:

When I was in drawing Format is set to a generic type, MeasureString Format is also introduced to the same type, for spacing has no (1), between the word and the word is also close to,
  • Related