Printable versions
This Page
All Pages
PDF (2.0MB)

Index

Component
GpsViewNET

Class
Map

Properties
Position
OffsetX
OffsetY
Zoom
Rotation
Background
UpdateInterval
ImageFormat

Layers
MapLib

Events
OnObjectDown
OnObjectUp
OnMouseDown
OnMouseUp
OnMouseMove
OnDraw
OnDrawComplete

Methods
Open
Merge
Close
Update
UpdateAsync
CancelUpdate

NewMapShape
NewMapShapeFile
NewIcon
NewLine
NewRectangle
NewEllipse
NewLabel
Delete

GetByID
GetByIndex
GetByPosition
SetIndex
GetIndex

ActiveLayer
ActiveMapData

Position2Point
Point2Position

ZoomByBoundingBox

GetImageStream

Map.Background GpsTools v2.20 and later

Sets (or returns) the background color of the map. For a blank map this color will be used as background color and for a raster map this color will be used outside the maps raster area.

See the Brush class for more info.

Read here how object properties are used.

Syntax
Set objMap.Background = objBrush
Set objBrush = objMap.Background

Part Type Description
object GpsViewNET.Map An object that evaluates to an GpsViewNET.Map object.
objBrush GpsViewNET.Brush A Brush object that defines the background color.



100% managed code
© 2016 Franson Technology AB, All rights reserved, Contact | | Affiliate | Login