<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">How exactly do I go about getting the metrics for a string which I am drawing onto a dc%? I need to know the exact height and width of the string in pixels.<div><br></div><div>So, I guess I can use&nbsp;(send dc get-char-height) to get the height, but how do I get the exact width of an entire string?</div><div><div><font class="Apple-style-span" face="serif"><font class="Apple-style-span" face="Verdana"><br></font></font></div><div>- dr</div><div><font class="Apple-style-span" face="serif"><br></font></div></div></body></html>