Talk:Vcl.Graphics.TTextFormat

From RAD Studio API Documentation
Jump to: navigation, search

This page appears to be entirely wrong - Vcl.Graphics.pas does not define these three constants (eg, tfAutoText). In fact it should probably document the constants listed here, which is a set of TTextFormat (this page's values): http://docwiki.embarcadero.com/Libraries/XE7/en/Vcl.Graphics.TTextFormats (you can see a large set of many more constants there, and none of them are the ones documented on this page), or link to the MSDN documentation for the values they map to on the DrawTextEx page: http://msdn.microsoft.com/en-us/library/windows/desktop/dd162499(v=vs.85).aspx

I searched through the entire VCL source provided with XE7 Pro - no sign of these three values. That doesn't mean they don't exist, but it's strange, and this page is almost certainly wrong.

See this Stack Overflow discussion for an example of someone getting very puzzled by this: http://stackoverflow.com/questions/26283308/which-are-the-ttextformats-values-used-in-textrect-and-their-meanings


David M, 2014-10-09