AVAX-software.com Forums: Add_BlockLines(...) , It is Overflow. - AVAX-software.com Forums

Jump to content

Page 1 of 1

Add_BlockLines(...) , It is Overflow. Add_BlockLines(...) , It is Overflow.

#1 User is offline   hobo Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 25-August 09

Posted 27 August 2009 - 10:32 AM

Add_BlockLines(...) , It is Overflow.


when the sText = "12345678901234567" then the upper bound of the arrays (x1, x2, y1, y2, z1 and z2) is 1123.

when the sText = "123456789012345678" then the upper bound of the arrays (x1, x2, y1, y2, z1 and z2) is 1236.

when the sText = "12345678901234567890" then the upper bound of the arrays (x1, x2, y1, y2, z1 and z2) is 1422.





if upper bound of the arrays (x1, x2, y1, y2, z1 and z2) is 1422 then Add_BlockLines(...) is Overflow.

if upper bound of the arrays (x1, x2, y1, y2, z1 and z2) is 1236 then Add_BlockLines(...) is return zero.

if upper bound of the arrays (x1, x2, y1, y2, z1 and z2) is 1123 then Add_BlockLines(...) is ok.
-------------------------------------------

....
....
....
Dim sText As String
Dim sFontName As String
Dim TextScale As Single
Dim fBold As Boolean
Dim fItalic As Boolean
Dim x1() As Single
Dim y1() As Single
Dim z1() As Single
Dim x2() As Single
Dim y2() As Single
Dim z2() As Single
Dim Answer As Integer

sText = "12345678901234567"
sFontName = "Verdana"
TextScale = 100
fBold = False
fItalic = False
Answer = canvas.GetTextVectors(sText, sFontName, TextScale, fBold, fItalic, x1, y1, x2, y2)
Answer = canvas.Add_BlockLines(x1, y1, z1, x2, y2, z2, vItemProperties, iClr, iWidth, iStyle, iLayer)

....
....
....

#2 User is offline   Athanasios Gardos Icon

  • Administrator
  • Icon
  • Group: Admin
  • Posts: 333
  • Joined: 21-March 05
  • Gender:Male

Posted 28 August 2009 - 08:52 AM

We will correct it soon.
Athanasios Gardos
Avax-Software.com

#3 User is offline   elias Icon

  • Newbie
  • Icon
  • Group: Support
  • Posts: 51
  • Joined: 24-October 08
  • Gender:Male

Posted 01 September 2009 - 01:39 PM

We have corrected the problem. Please download again the setup file.

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users