积极答复者
how to change the webview font size.

问题
答案
-
Hi 柳天赐,
一个网页显示文字大或者小的都是通过CSS来控制。如果是只放大字,不放大图片的话必然要修改页面的CSS,但是你又不想NavigateFromString,所以我觉得你的想法应该实现不了。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已标记为答案 Jamles HezModerator 2013年10月17日 0:56
全部回复
-
webview如何改变所加载网页字体大小??
不是用NavigateToString方式加载的网页,而是Navigate加载的网页。
- 已合并 Jamles HezModerator 2013年10月8日 6:47 same question
-
Hi 柳天赐,
我把你的帖子合并了,因为两个问题是相同的。
另外,尝试下下面的代码,你可以发现字体明显变大。
<WebView RenderTransformOrigin="0.5,0.5" Source="http://baidu.com"> <WebView.RenderTransform> <CompositeTransform ScaleX="1.6" ScaleY="1.6"/> </WebView.RenderTransform> </WebView>
祝好运。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later. -
Hi 柳天赐,
一个网页显示文字大或者小的都是通过CSS来控制。如果是只放大字,不放大图片的话必然要修改页面的CSS,但是你又不想NavigateFromString,所以我觉得你的想法应该实现不了。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已标记为答案 Jamles HezModerator 2013年10月17日 0:56