Share via


BorderStyle property

Returns or sets whether the MapPoint Control has a border. Read/write Long.

Border

Long

Description

Fixed

1

Border

None

0

No border

Applies to

Objects: MappointControl

Syntax

object.BorderStyle

Parameters

Part

Description

object

Required. An expression that returns a MappointControl object.

Remarks

  • To return or set the appearance of the border, use the Appearance property of the MappointControl object.

Example

[Microsoft Visual Basic 6.0]
'Assume the MappointControl on your form is named "MappointControl1"

Private Sub cmdSet3D_Click()
     MappointControl1.BorderStyle = 1 'has border
     MappointControl1.Appearance = 1 'border is 3D
End Sub

[C#]
private void cmdSet3D_Click(object sender, System.EventArgs e)
{
 MappointControl1.BorderStyle = 1; //has border
 MappointControl1.Appearance = 1; //border is 3D
}