Class Convert
Klasse welche Methoden für die Dokumentenkonvertierung zur Verfügung stellt
Inheritance
System.Object
Convert
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.DocumentProcessing.Document
Assembly: Simplic.Framework.DocumentProcessing.dll
Syntax
public static class Convert
Fields
| Improve this Doc View SourceMAXRETRYCOUNT
gibt an wie oft eine Konvertierung wiederholt wird, wenn das Ergebniss null ist (interner GD-Pciture Fehler möglich)
Declaration
public const int MAXRETRYCOUNT = 5
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourcePdfToTiff(Byte[], Int32, Int32)
Konvertiert ein .pdf Dokument in ein .tif Dokument
Declaration
public static byte[] PdfToTiff(byte[] data, int dpi = 300, int tryCounter = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | |
System.Int32 | dpi | |
System.Int32 | tryCounter | anzahl der bereits durchgefuehrten Versuche max. ist MAXRETRYCOUNT |
Returns
Type | Description |
---|---|
System.Byte[] | TIF |
TiffToPdf(Byte[], Int32)
Konvertiert ein .tif Dokument in ein .pdf Dokument
Declaration
public static byte[] TiffToPdf(byte[] data, int tryCounter = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | |
System.Int32 | tryCounter |
|
Returns
Type | Description |
---|---|
System.Byte[] |