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.
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.
Comment