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

@ -3,12 +3,12 @@ import { ExtentAttributes } from "./extent-attributes";
export class Extent extends XmlComponent {
constructor() {
constructor(x: number, y: number) {
super("wp:extent");
this.root.push(new ExtentAttributes({
cx: 3162300,
cy: 2857500,
cx: x,
cy: y,
}));
}
}