Menu

DrawDashedLine on XE6

Max Evans
2021-12-16
2021-12-16
  • Max Evans

    Max Evans - 2021-12-16

    Hi Angus,
    I'm using XE6 and trying to use DrawDashedLine (from img32.draw unit), however the compiler is giving me and error of "there is no overloaded version of DrawDashedLine that can be called with these arguments"

    In my code, I'm declaring it as
    Img32.Draw.DrawDashedLine(AImage, AArc, [2, 2], nil, 2, claqua32, esPolygon);

    Works perfectly on XE7, but not in XE6...
    Any ideas ?

     
  • Angus Johnson

    Angus Johnson - 2021-12-16

    Without looking at my code, I suspect the problem is with the integer array that you're passing to this procedure. It's very likely that a dynamic array is expected (as opposed to an open array) and older versions of Delphi will require these to be constructed separately and passed as named variables.

     

    Last edit: Angus Johnson 2021-12-16