You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example to convert DOCX file to PDF. All supported formats and options can be found
39
-
[here](https://www.convertapi.com).
39
+
[here](https://www.convertapi.com/conversions).
40
40
41
41
```java
42
42
CompletableFuture<ConversionResult> result =ConvertApi.convert("docx", "pdf", newParam("file", Paths.get("test.docx")));
@@ -69,7 +69,7 @@ CompletableFuture<ConversionResult> result = ConvertApi.convert("pptx", "pdf",
69
69
#### Additional conversion parameters
70
70
71
71
ConvertAPI accepts extra conversion parameters depending on converted formats. All conversion
72
-
parameters and explanations can be found [here](https://www.convertapi.com).
72
+
parameters and explanations can be found [here](https://www.convertapi.com/conversions).
73
73
74
74
```java
75
75
CompletableFuture<ConversionResult> result =ConvertApi.convert("pdf", "jpg",
@@ -89,6 +89,14 @@ User user = ConvertApi.getUser();
89
89
int secondsLeft =user.SecondsLeft;
90
90
```
91
91
92
+
### Alternative domain
93
+
94
+
Create `Config` instance with the alternative domain and provide it in `convert` method. Dedicated to the region [domain list](https://www.convertapi.com/doc/servers-location).
You can find more advanced examples in the [examples](https://github.com/ConvertAPI/convertapi-java/tree/master/examples/src/main/java/com/convertapi/examples) folder.
0 commit comments