Add image dimensions

This commit is contained in:
Dolan
2018-01-22 20:42:57 +00:00
parent d3bc784248
commit ef05024f2f
12 changed files with 58 additions and 21 deletions

View File

@ -11,6 +11,6 @@ export class Drawing extends XmlComponent {
throw new Error("imageData cannot be undefined");
}
this.root.push(new Inline(imageData.referenceId));
this.root.push(new Inline(imageData.referenceId, imageData.dimensions));
}
}