Imports a .gpx file and converts it to a grouping of native application objects.

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public GwxElement ImportGpxFromFile(
	string filename,
	Rect dimensions,
	bool selectAfterImport,
	bool showErrors,
	Object importOptions,
	IProgressContext context
)
Visual Basic
Public Function ImportGpxFromFile ( _
	filename As String, _
	dimensions As Rect, _
	selectAfterImport As Boolean, _
	showErrors As Boolean, _
	importOptions As Object, _
	context As IProgressContext _
) As GwxElement
JScript
public function ImportGpxFromFile(
	filename : String, 
	dimensions : Rect, 
	selectAfterImport : boolean, 
	showErrors : boolean, 
	importOptions : Object, 
	context : IProgressContext
) : GwxElement

Parameters

filename
Type: System..::..String
The metafile to import/convert.
dimensions
Type: System.Windows..::..Rect
selectAfterImport
Type: System..::..Boolean
showErrors
Type: System..::..Boolean
importOptions
Type: System..::..Object
Import options for the gpx import.
context
Type: IProgressContext
The progress context to be used during the import.

Return Value

The imported metafile group, or null if there was an error during conversion.

See Also