Imports a metafile and converts it to a grouping of native application objects.
Namespace: Ico.GwxAssembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public GwxElement ImportSvgFromFile(
string filename,
Rect dimensions,
bool selectAfterImport,
bool showErrors,
IProgressContext context
) |
Visual Basic |
---|
Public Function ImportSvgFromFile ( _
filename As String, _
dimensions As Rect, _
selectAfterImport As Boolean, _
showErrors As Boolean, _
context As IProgressContext _
) As GwxElement |
JScript |
---|
public function ImportSvgFromFile(
filename : String,
dimensions : Rect,
selectAfterImport : boolean,
showErrors : boolean,
context : IProgressContext
) : GwxElement |
Parameters
- filename
- Type: System..::..String
The filename of the metafile to import/convert.
- dimensions
- Type: System.Windows..::..Rect
The new dimensions for the imported metafile.
Specify Width/Height=0 to retain the original size of the metafile.
Specify Left/Top=NaN to retain the original poistion of the metafile.
- selectAfterImport
- Type: System..::..Boolean
The to select the metafile group after importing.
- showErrors
- Type: System..::..Boolean
True to show error messages regarding the metafile conversion, false to suppress warning messages.
- 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