I’m searching for an option to apply a margin or/and padding to an inline element as Span in Flowdocument.
Any ideas?
I’m searching for an option to apply a margin or/and padding to an inline
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can find a good overview how to handle text in FlowDocument in the following link.
http://msdn.microsoft.com/en-us/library/aa970786.aspx
I used TextBlock. As it seems TextBlock is unable have a margin. So be sure to use padding instead.