AVAX-software.com Forums: MapMode and External Lines - AVAX-software.com Forums

Jump to content

Page 1 of 1

MapMode and External Lines

#1 Guest_Terry_*

  • Group: Guests

Post icon  Posted 22 June 2005 - 05:48 PM

Hi,

What is the MapMode used for and how many options are there, I am guessing 8?

What are the results of each setting?

Also, what are External Lines and where would they be used?

Thanks,

Terry

#2 Guest_Terry_*

  • Group: Guests

Post icon  Posted 22 June 2005 - 06:06 PM

When using External Lines, why would the following code produce the error shown in VB.Net?

Code:

Dim sName As String
Dim vItemProperties As Object
Dim iClr As Short
Dim iWidth As Short
Dim iStyle As Short
Dim iLayer As Short
Dim aResult As Integer

sName = "rectangle"

vItemProperties = ""

iClr = 1
iWidth = 2
iStyle = 0
iLayer = 0

aResult = DrawingForm.cAvax1.Add_ExternalLines(sName, "", iClr, iWidth, iStyle, iLayer)

Error:

An unhandled exception of type 'System.ExecutionEngineException' occurred in axinterop.avax.dll

#3 Guest_Terry_*

  • Group: Guests

Posted 22 June 2005 - 06:14 PM

The same error is produced using this code:

Dim sName As String

sName = "rectangle"

DrawingForm.cAvax1.Add_ExternalLines(sName)

#4 User is offline   Athanasios Gardos Icon

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

Posted 23 June 2005 - 01:08 PM

Hi,

About the "mapmode" please have a look to the following link:
Windows API - SetMapMode function

About the "Add_ExternalLines" error I'm trying to find an explanation.
Athanasios Gardos
Avax-Software.com

Page 1 of 1


Fast Reply

  

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