Add image to run

This commit is contained in:
Dolan
2018-08-09 01:55:50 +01:00
parent 94274733f4
commit e10c20fa42
9 changed files with 43 additions and 20 deletions

13
src/file/media/image.ts Normal file
View File

@ -0,0 +1,13 @@
import { ImageParagraph, PictureRun } from "../paragraph";
export class Image {
constructor(private readonly paragraph: ImageParagraph) {}
public get Paragraph(): ImageParagraph {
return this.paragraph;
}
public get Run(): PictureRun {
return this.paragraph.Run;
}
}