Files
docx-js/ts/docx/run/picture-run.ts

11 lines
232 B
TypeScript
Raw Normal View History

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));
}
}