.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Indentation in WPF TextFormatter

Posted By:      Posted Date: September 02, 2010    Points: 0   Category :WPF
Hi everybody! I'm making a WPF text-editor using TextFormatter. I need to indent some paragraphs, so I'm using the Indent property from the TextParagraphProperties class. This works great in this scenario: Regular text without any indentation.     This paragraph has a uniform     indentation so everything is     ok. But I also need this:     John: This paragraph has a             diferent indentation             in the first line.     Joe: So I don't know how             to make this happen. I found the ParagraphIndent and FirstLineInParagraph properties, but I don't know how they work, or if then would be usefull. Thanks in advance!! Jose

View Complete Post

More Related Resource Links

Excel Export: Indentation/Padding issue


Hello Jerry and fellow RS forum members,

I noticed this section with respect to Excel export limitations from SSRS.

Show and Hide

Microsoft Excel has limitations with how it manages hidden and displayed report items when they are exported. Groups, rows, and columns that contain report items that can be toggled are rendered as Excel outlines. Excel creates outlines that expand and collapse rows and columns across the entire row or column which can cause the collapse of report items that are not intended to be collapsed. In addition, Excel's outlining symbols can become cluttered with overlapping outlines.


Now I have this basic report with a table data region having multiple groups. Each Parent Group provides a toggle capability (+/-) in front of it. Each text box for the grouped item has left padding set to provide indentation. Example:

+ Group A

    +  Group B

          + Group C

                   Detail data

The report displays perfectly fine within the HTML viewer and PDF export with proper indentation and padding obv

indentation of xml file


if i am using 

xmlWriter.Indentation = 14

the xml file created has less file size

but if i am using  xmlWriter.Formatting = Formatting.Indented

the xml file created has llarge file size

whst the reason

secondaly when i am viewing the xml file in browser the indentation and the tags appears shifting to right & instead of appearing on same line they go on next line .

the file right from top to bottom in the browser appear in the same way

i hope the query is clear frm my end abt the prblm


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend