Error Serializing System.Windows.Documents.Paragraph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhas59
    New Member
    • Feb 2007
    • 1

    #1

    Error Serializing System.Windows.Documents.Paragraph

    hi friends,
    I want to serialize a System.Windows. Documents.Parag raph and for this I have written the following code in the application :

    mypara cust = new mypara();
    Paragraph ph = new Paragraph(new Run(str));
    cust.Para = ph;
    cust.Para.Foreg round = System.Windows. Media.Brushes.A liceBlue;
    string pass = format.Serializ e(cust.Para);

    mypara is a custom class created in which Para is the custom property which gets and sets a value of System.Windows. Documents . Paragraph object the last statement generates an error as Error in Serializing "System.Windows .Documents.Para graph" If someone knows how to deal with this error then let me know.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Here is an article that may help:
    Help Help me please!!!

    Comment

    Working...