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 ImportMetafile(
	Metafile metafile,
	double newSize,
	Rect area
)
Visual Basic
Public Function ImportMetafile ( _
	metafile As Metafile, _
	newSize As Double, _
	area As Rect _
) As GwxElement
JScript
public function ImportMetafile(
	metafile : Metafile, 
	newSize : double, 
	area : Rect
) : GwxElement

Parameters

metafile
Type: System.Drawing.Imaging..::..Metafile
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