[StructLayout(LayoutKind.Sequential)]
public struct GSVersion
{
public string product;
public string copyright;
public int revision;
public int revisionDate;
}
<StructLayout(LayoutKind.Sequential)> _
Public Structure GSVersion
Public product As String
Public copyright As String
Public revision As Integer
Public revisionDate As Integer
End Structure
None.
When starting to work with the Ghostscript Interpreter API (gsapi.dll), it is helpful to start by getting the gsapi_revision function to work.
Here is a sample of how the GSVersion structure is filled in by the gsapi_revision function.
GPL Ghostscript
Copyright Some Company
815
20040922