Exemple #1
0
 public Canvas(IntPtr context, string data)
 {
     Handle = NativeCD.cdCreateCanvasStr(context, data);
     if (Handle == IntPtr.Zero)
     {
         throw new Exception("Failed to create canvas. Control mapped?");
     }
 }