Fix spelling error
This commit is contained in:
@ -38,7 +38,7 @@ export class FooterWrapper {
|
||||
this.footer.addChildElement(childElement);
|
||||
}
|
||||
|
||||
public addImageRelation(image: Buffer, refId: number, width?: number, height?: number): IMediaData {
|
||||
public addImageRelationship(image: Buffer, refId: number, width?: number, height?: number): IMediaData {
|
||||
const mediaData = this.media.addMedia(image, refId, width, height);
|
||||
this.relationships.createRelationship(
|
||||
refId,
|
||||
@ -49,7 +49,7 @@ export class FooterWrapper {
|
||||
}
|
||||
|
||||
public createImage(image: Buffer, width?: number, height?: number): void {
|
||||
const mediaData = this.addImageRelation(image, this.relationships.RelationshipCount, width, height);
|
||||
const mediaData = this.addImageRelationship(image, this.relationships.RelationshipCount, width, height);
|
||||
this.addImage(new Image(new ImageParagraph(mediaData)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user