+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Printing Strings Using the .NET Component's Event

Valid from List & Label 8
Due to an apparent inconsistence in the .NET Framework you'll need to covert the font size when drawing text using Graphics.DrawString. The framework seems to use 1/10 inches as scale unit. If your component's property Unit/ Metric is set to 1/10 millimeters you have multiply the required size in points by 2.54:
e.Graphics.DrawString("Hello world", new Font("Arial", 20F * 2.54F), new SolidBrush(Color.Black), e.ClipRectangle);
IDKBTE000580 KBTE000580

© combit GmbH