PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
How to apply a Style to a Row? http://forum.pdfsharp.de/viewtopic.php?f=2&t=1339 |
Page 1 of 1 |
Author: | kumaichi [ Sun Sep 19, 2010 11:47 pm ] | ||
Post subject: | How to apply a Style to a Row? | ||
I'm trying to create a style for a row. When I run it to generate the mddl and display it in the preview it throws an exception. I got around the exception by removing the Format->Font section of the DataRowHeader. Even though it runs and displays in the preview, the rest of the styles are not being applied, for instance, there is no underline. I looked through the source and it looks like it tries to serialize the Format in the Row.cs class: if (!this.IsNull("Format")) this.format.Serialize(serializer, "Format", null); As well as process the borders: if (!this.IsNull("Borders")) this.borders.Serialize(serializer, null); But nothing is being displayed properly. I've attached the output of my mddl file. Thanks.
|
Author: | Thomas Hoevel [ Mon Sep 20, 2010 7:22 am ] |
Post subject: | Re: How to apply a Style to a Row? |
kumaichi wrote: Ok, so I tried uploading the file but it told me, mddl, txt and no ext wasn't allowed. So, I'm pasting the mddl data below Bad idea. Just attach a ZIP file. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |