Changed code to update image reference to use href instead of bname attribute name

Added header information to xml for image link
Replace bname with xlink:href for image references
Added RNOWidthAdj flag for Braidwood
This commit is contained in:
Rich
2014-01-08 20:05:45 +00:00
parent 6cb0edbf98
commit 21301832e0
4 changed files with 5 additions and 5 deletions

View File

@@ -170,7 +170,7 @@ namespace fmtxml
fsty = (float) System.Convert.ToDouble(cmdele.GetAttribute("y"));
int scale=1;
if (cmdele.HasAttribute("scale")) scale = System.Convert.ToInt32(cmdele.GetAttribute("scale"));
string fname = cmdele.GetAttribute("bname");
string fname = cmdele.GetAttribute("xlink:href");
Bitmap bm = new Bitmap(fname);
Image img = Image.FromFile(fname);
rc = new RectangleF();