static Symbology() { try { SymbolStruct = (zint_symbol) // generate managed counterpart of struct Marshal.PtrToStructure(ZBarcode.Create(), typeof(zint_symbol)); } catch (Exception e) { // dll not found, application aborted } }
public static extern int EncodeAndPrint( ref zint_symbol symbol, string input, int length, int rotate_angle);
public static extern void Delete(ref zint_symbol symbol);
public static extern void Clear(ref zint_symbol symbol);
public extern static void Clear(ref zint_symbol symbol);
public extern static void Delete(ref zint_symbol symbol);
public extern static int EncodeAndPrint( ref zint_symbol symbol, string input, int length, int rotate_angle);