Add scale method to image

This commit is contained in:
Dolan
2018-08-09 21:58:50 +01:00
parent d961721b33
commit f264e4d0f7

View File

@ -10,4 +10,8 @@ export class Image {
public get Run(): PictureRun { public get Run(): PictureRun {
return this.paragraph.Run; return this.paragraph.Run;
} }
public scale(factorX: number, factorY?: number): void {
this.paragraph.Run.scale(factorX, factorY);
}
} }