After the family tree shapes library is loaded, GEDCOM files can be imported. The following code example shows how to save GEDCOM data to file and stream from a drawing view:
Exporting GEDCOM data to file |
Copy Code
|
---|---|
drawingView.SaveToLocalFile(@"D:\Documents\MyFamilyTree.ged");
|
Exporting GEDCOM data to stream |
Copy Code
|
---|---|
drawingView.SaveToStream(stream, NDrawingFormat.Gedcom); |