Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Unassigned: IXLColumn.AdjustToContents doesn't work correctly on a HighDPI display [9371]

$
0
0
When using a HighDPI display, IXLColumn.AdjustToContents doesn't work as expected; it makes the columns too long, probably by the same percentage as currentDPI / 96.

The problem is probably around IXLFontBase.GetWidth().
Comments: Humor me and create a couple of workbooks with one column and apply adjust to contents: 1) With Excel in a normal resolution pc. 2) With Excel in a high resolution pc. 3) With ClosedXML in a normal resolution pc. 4) With ClosedXML in a high resolution pc. Attach those files and also let me know how each looks on both resolutions. Thanks,

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>