anchor.diff:  // Set an Options record to default values
   function InitializeDatamatrixDecodeOptions:DatamatrixDecodeOptions;
   
  +// Prepare a bitmap for finding barcodes
  +function DIBtoImage(bitmap:TBitmap):PDmtxImage;
   // Decode a datamatrix barcode with default options
   procedure DecodeDatamatrix(bitmap:TBitmap;codes:TStrings);overload;
     // bitmap: a bitmap that can contain a datamatrix barcode
  
positive.code: end;
  
  
  end.
  
negative.code:   except
      result:=false;
    end;
  end;
  
  procedure DecodeMessage(msg:pDmtxMessage; region:pDMtxRegion; codes:TStrings;options:DatamatrixDecodeOptions);
  var
    aRegion:pDmtxRegion;
  begin
    new(aRegion);
    aRegion^:=region^;
    codes.AddObject(PAnsiChar(msg.output),TObject(aRegion));
  end;
  
  
  