开发者

WPF document viewer page size

How to set page size for WPF doc开发者_JS百科ument viewer in cm mm?


1cm = 37.8 Device Independent Pixels. Because in WPF, you calculate in DIP (Device independent Pixels), this value is constant, you can rely on it. Therefore you can multiply your cm-value with 37.8 and you get the value your looking for. For completness: 96DIP = 1inch;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜