Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32 SIZE structure, what units?

Status
Not open for further replies.

happyabc

IS-IT--Management
Mar 10, 2004
164
IN
In the topic for the Win32 SIZE structure, I found the following puzzling paragraph:

"The rectangle dimensions stored in this structure may correspond to viewport extents, window extents, text extents, bitmap dimensions, or the aspect-ratio filter for some extended functions."

So what are the units in the case of GetTextExtentPoint32?
 
Pixels...

You may also see thread222-885251 for some example code using this function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top