Imports a metafile 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 ImportMetafileFromFile(
	string filename,
	double newSize,
	Rect area
)
Visual Basic
Public Function ImportMetafileFromFile ( _
	filename As String, _
	newSize As Double, _
	area As Rect _
) As GwxElement
JScript
public function ImportMetafileFromFile(
	filename : String, 
	newSize : double, 
	area : Rect
) : GwxElement

Parameters

filename
Type: System..::..String
The metafile to import/convert.
newSize
Type: System..::..Double
The new size of the larger side of the metafile (preserving aspect ratio).
area
Type: System.Windows..::..Rect
The screen area

Return Value

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

See Also