Skip to content

Commit b682c5e

Browse files
author
Evgeniy Sidenko
committed
Updated up to the version 23.11
1 parent 044fb37 commit b682c5e

File tree

7 files changed

+33
-3
lines changed

7 files changed

+33
-3
lines changed

Examples/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aspose</groupId>
55
<artifactId>imaging-java-examples</artifactId>
6-
<version>23.10</version>
6+
<version>23.11</version>
77
<packaging>jar</packaging>
88
<properties>
99
<maven.compiler.source>1.8</maven.compiler.source>
@@ -15,14 +15,14 @@
1515
<dependency>
1616
<groupId>com.aspose</groupId>
1717
<artifactId>aspose-imaging</artifactId>
18-
<version>23.10</version>
18+
<version>23.11</version>
1919
<classifier>jdk16</classifier>
2020
<type>jar</type>
2121
</dependency>
2222
<dependency>
2323
<groupId>com.aspose</groupId>
2424
<artifactId>aspose-imaging</artifactId>
25-
<version>23.10</version>
25+
<version>23.11</version>
2626
<classifier>javadoc</classifier>
2727
<type>jar</type>
2828
</dependency>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package com.aspose.imaging.examples.ModifyingImages.cdr;
2+
3+
import com.aspose.imaging.Image;
4+
import com.aspose.imaging.examples.Logger;
5+
import com.aspose.imaging.examples.Utils;
6+
import com.aspose.imaging.FontSettings;
7+
8+
public class SupportTextStylesItalicUnderline
9+
{
10+
public static void main(String[] args)
11+
{
12+
Logger.startExample();
13+
// The path to the documents' directory.
14+
String dataDir = Utils.getSharedDataDir() + "cdr/";
15+
String fontsDir = Utils.getSharedDataDir() + "Fonts/";
16+
17+
String inputFileName = dataDir + "test3.cdr";
18+
String outputFile = Utils.getOutDir("cdr") + "/test3.cdr.jpg";
19+
20+
FontSettings.setFontsFolder(fontsDir);
21+
22+
try (Image image = Image.load(inputFileName))
23+
{
24+
image.save(outputFile);
25+
}
26+
27+
Logger.endExample();
28+
}
29+
}

Examples/src/main/java/com/aspose/imaging/examples/RunExamples.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ public static void main(String[] args) throws IOException, InterruptedException,
426426
SupportOfCDR.main(args);
427427
CdrToPsdMultipageExample.main(args);
428428
CdrToPngExample.main(args);
429+
SupportTextStylesItalicUnderline.main(args);
429430

430431
//// =====================================================
431432
//// =====================================================
2.16 MB
Binary file not shown.
28.3 KB
Binary file not shown.
35.1 KB
Binary file not shown.
894 KB
Binary file not shown.

0 commit comments

Comments
 (0)