Files
docx-js/ts/docx/run/picture-run.ts
2017-03-12 23:31:43 +00:00

11 lines
232 B
TypeScript

import { Run } from "../run";
import { Drawing } from "./run-components/drawing";
export class PictureRun extends Run {
constructor(imagePath: string) {
super();
this.root.push(new Drawing(imagePath));
}
}