AUTOCADでWMFファイルを作成することはできるのですが、IJCADで実装する方法がわかりません。  
ご教示いただけないでしょうか。  
AUTOCADでWMFファイルを作成するプログラムは以下の通りです。

```

    Function ImportWMF(FullPath As String, ptIns As Point3d, scale As Double) As String
        Dim doc As Autodesk.AutoCAD.ApplicationServices.Document = 
                    Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument
    
        Using doc.LockDocument()
            Dim acadDoc As Object = 
                    Autodesk.AutoCAD.ApplicationServices.DocumentExtension.GetAcadDocument(doc)
            Try
                Dim obj As Autodesk.AutoCAD.Interop.Common.AcadObject = acadDoc.Import(FullPath, ptIns.ToArray, scale)
                Return obj.Handle
    
            Catch ex As Exception
                Return String.Empty
            End Try
        End Using
    End Function
    
```
CC BY-SA 4.0
2019-01-12T07:06:52.057
51909
2019-01-15T02:41:09.103
2019-01-12T10:34:20.743
3060
31055
question
.net ijcad
IJCADでのWMFファイルの作成方法
IJCADの.NET APIでは、Editor.CommandメソッドでWMFINコマンドを使用するとで、WMFを読み込めると思います。

```

    Function ImportWMF(FullPath As String, ptIns As Point3d, scale As Double, rotated As Double) As String
        Dim doc As Document = Application.DocumentManager.MdiActiveDocument
        Dim ed As Editor = doc.Editor
        ed.Command("WMFIN", FullPath, ptIns, scale, scale, rotated)
        Dim res As PromptSelectionResult = ed.SelectLast()
        If res.Status = PromptStatus.OK Then
            Return res.Value.GetObjectIds()(0).Handle.ToString()
        End If
        Return String.Empty
    End Function
    
```
CC BY-SA 4.0
2019-01-15T02:41:09.103
51977
2019-01-15T02:41:09.103
51909
answer