Browse by Tags
All Tags »
XPS (
RSS)
Please update your bookmarks, because the new url of this blog is http://khason.net/ (you have not update RSS feeds, it will be done automatically). Why I did it? Why I decided to go to “stand-alone”… Well. there are some reasons. Generally, I do not want to explain all those here, but trust me, there are some. The main reason is, that there is no responsible person in charge for this blog platform in Microsoft Israel. This why, if your blog is popular and you have a respect to your blog visitors...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/programming-for-windows-7/ ] Well, Windows 7 is going to be released by the end of next year. This is great news, because it seemed, that Microsoft finally understand how to get the best of Windows Vista and make it to work not only on monster machines . It even works on new brandy my wife's pinky machine. And if it works there and my wife is happy with it, this OS going to be very...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/slides-and-desks-from-my-expert-days%e2%80%99-sessions/ ] Because of the new job , I’m bit tight in time, however, I found a time to post slides from my sessions in Expert Days . Also, hand-on labs used for WPF beginners’ released as open source to CodePlex for your convenience. Windows Presentation Foundation for Fellow Developers [4 MB] Mastering Microsoft Silverlight 2...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/search-and-highlight-any-text-on-wpf-rendered-page/ ] Today we’ll speak about how to search and select text on WPF page. This is not about how to search data sources, or how to search for data. This is visual search. Like this one Let’s see how XAML looks like <Grid Name="root"> … <StackPanel Grid.ColumnSpan="2" Grid.Row="1" Name="panel">...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/wordml-to-flowdocument-%e2%80%93-how-to-convert-docx-files-to-wpf-flowdocument/ ] Recently we spoke about converting XPS files and FixedDocuments to FlowDocuments . It works, but there are lot of problems, due to fact, that FixedDocument (or XPS/PDF document) has less information, then the original file. Those files are, actually, printout of the original document. Also we know how to...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/using-vista-preview-handlers-in-wpf-application/ ] First of all what is Preview Handler? Preview Handler is COM object, that called when you want to display the preview of your item. Other words, Preview Handlers are lightweight, rich and read-only previews of file’s content in a reading pane. You can find preview handlers in Microsoft Outlook 2007, Windows Vista and, even sometimes...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/converting-fixeddocument-xpsdocument-too-to-flowdocument/ ] First of all, what’s the differences between FixedDocument and FlowDocument and why we can convert FlowDocument into FixedDocument easily but not vice verse? Let’s try to understand What is FixedDocument? FixedDocument is a host for portable, high fidelity, fixed-format document with read access for user text selection...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/my-xbap-deployment-fails-on-user-account-while-administrators-can-run-it-well-what-to-do/ ] I know only one person, who has following problem, however it makes sense to post all steps to perform in order to solve the problem. Let's start from the error : While trying to run XBAP application with user's account on my machine, I get following error: System.UnauthorizedAccessException...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/printing-more-then-one-page-creation-in-memory-xps-document-and-documentviewer-customization/ ] Today, we'll answer number of questions, regarding DocumentViewer, XPSDocument, FlowDocument and more First question : I'm trying to display FlowDocument, by using DocumentViewer and I'm getting "FlowDocument' object cannot be added to 'DocumentViewer'. DocumentViewer...