flowdocument
Is there a way for me to measure the height of a block/section in a WPF flowdoc?
So I am building a flowdocument paragraph by paragraph, and I was wondering if there was a way that I could measure the height of a block at a given time.[详细]
2023-03-30 00:35 分类:问答Embed custom control in WPF FlowDocument
Is there any way to embed a custom control into the flowdocument and have it corre开发者_运维技巧ctly displayed by the FlowDocument viewers (export it to Xaml text file and open it by a viewer)?yes us[详细]
2023-03-28 04:14 分类:问答WPF: richtextbox tab issue
I am really confused at what is going on here. I have a rtb, and I have allowTab set to true, so the user can indent.[详细]
2023-03-25 19:40 分类:问答WPF : spacing between two <span> without space character
i\'m build some contents into flowdocument in programming way, not xaml. i need a way to spacing between two spans, no use space character trick like following code:[详细]
2023-03-25 18:00 分类:问答How to make 2 inline elements with 0 margin?
I have FlowDocument <FlowDocument> <Paragr开发者_StackOverflow社区aph> <Run Text=\"foo\" />[详细]
2023-03-25 14:23 分类:问答creating an XPS Document from a FlowDocument and attach it on the fly
I have a FlowDocument that I want to convert to an XPS Document and attach it to an e-mail and send it all together. I\'m using this code[详细]
2023-03-22 22:02 分类:问答WPF TableColumn width
I have a flow开发者_如何转开发document where I add a table programmatically. This works fine. But like in word, I want to be able to resize the column size with the mouse. But I can\'t figure how to d[详细]
2023-03-21 23:57 分类:问答WPF RichTextBox GetCharacterRect
I am trying to get the character rect for all characters typed inside a richtextbox. Starting from the MyRichTextBox.Document.ContentStart textpointer, I advance every character using the following co[详细]
2023-03-17 20:02 分类:问答TextRange Find string c#
Im looking for a function that will enable me to find a certain string in a textRange and gives me back its textPointers(beginning and end)[详细]
2023-03-17 09:56 分类:问答Serializing WPF FlowDocuments to/from PackagePart (including images, etc.)
I want to be able to store multiple FlowDocuments within a single package, including images, etc. within each document. However, none of the methods I\'ve seen for saving (and loading) Xaml FlowDocume[详细]
2023-03-17 09:46 分类:问答