Hallo zusammen, ich habe folgende Code um PostScript in PDF umzuwandeln. Ghostscript.NET ist schon installiert
ich bekomme folgende Fehlermeldung:
Schweregrad Code Beschreibung Projekt Datei Zeile Unterdrückungszustand
Fehler CS0246 Der Typ- oder Namespacename "GhostscriptPdfSettings" wurde nicht gefunden (möglicherweise fehlt eine using-Direktive oder ein Assemblyverweis). ConverttoPDF
hast jemand ein Idee wotran es liegt?
Danke
using Ghostscript.NET; using Ghostscript.NET.Rasterizer; using System;
class Program { static void Main() { // Pfade für die PostScript- und PDF-Dateien string postScriptFilePath = "C:\PMT Projekt\SmartQC\dwsample1-ps.ps"; string pdfFilePath = "C:\PMT Projekt\SmartQC\Ergebnis.pdf";
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
}