Skip to content

Commit 660ae6d

Browse files
Update appendImageHeader.js
1 parent 26fcde0 commit 660ae6d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

UsesCases/HeaderFooter/appendImageHeader.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
// 8. Perform some action after successful addition
99
// All values of variables starting with "YOUR_****" should be replaced by real user values
1010

11-
import credentials from "../../../Credentials/credentials.json" with { type: "json" }; // json-file in this format: { "id": "*****", "key": "*******" }
11+
import credentials from "./credentials.json" with { type: "json" }; // json-file in this format: { "id": "*****", "key": "*******" }
1212
import fs from 'node:fs/promises';
1313
import path from 'node:path';
14-
import { PdfApi } from "../../src/api/api.js";
15-
import { ImageHeader } from "../../src/models/imageHeader.js";
14+
import { PdfApi } from "asposepdfcloud";
15+
import { ImageHeader } from "asposepdfcloud/src/models/imageHeader.js";
16+
import { HorizontalAlignment } from "asposepdfcloud/src/models/horizontalAlignment.js";
1617

1718
const configParams = {
1819
LOCAL_FOLDER: "C:\\Samples\\",
@@ -71,4 +72,4 @@ async function main() {
7172
}
7273
}
7374

74-
main();
75+
main();

0 commit comments

Comments
 (0)