Browse by Tags

Tagged Content List
  • Blog Post: FlowDocumentReader Arabic strings

    I had a customer question about how to use FlowDocumentReader in WPF, for Arabic text. I thought this was a good opportunity to share with you this short sample. This is a FlowDocumentReader that displays an Arabic FlowDocument. I included diacritics in the strings to make it more illustrative. To...
  • Blog Post: WPF Sample for Drawing Text

    In my earlier post , I mentioned the different consideration when dealing with rtl (or Bidi) text. This time I’m going to post the sample with more in-depth discussion. 1) I created a WPF Windows application: RTLApplication. 2) Created a CustomControl and called it RTL Control. This is the rendering...
  • Blog Post: Developing Arabic WPF applications – Part 4

    Drawing Text using FormattedText FormattedText Class offers low-level method to manage drawing text in Windows Presentation Foundation (WPF). It processes text as graphical elements, instead of text in controls such as the TextBox and TextBlock, which implement the FlowDirection model or the XPS document...
  • Blog Post: Developing Arabic WPF applications – Part 2

    There are a few cases where FlowDirection does not behave as expected. This blog covers two of these exceptions. Image An Image represents a control that displays an image. It can be used with a Source property that defines the uniform resource identifier (URI) of the Image to display. Unlike...
  • Blog Post: Developing Arabic WPF applications – Part 1

    I’ll talk today about developing Arabic applications in Windows Presentation Foundation (WPF). The main property for right-to-left display is FlowDirection . FlowDirection is similar to the Windows Forms RightToLeft , but not exactly the same. FlowDirection simply sets the direction and the layout of...
Page 1 of 1 (5 items)