Article | 60000710 |
Type | HowTo |
Product | Engine |
Version | 6 |
Date Added | 12/15/2008 |
Submitted by | Leif Andersson |
Keywords |
private void btOpen_Click(object sender, EventArgs e)
{
System.IO.Directory.SetCurrentDirectory(@"C:\Documents and Settings\Administrator\Desktop\Drawings\11111\"); // without this, the "relative" to the master-drawing Xref-file will not open
vdFramedControl1.BaseControl.ActiveDocument.Open(@"C:\Documents and Settings\Administrator\Desktop\Drawings\11111\aaaa.vdml"); // this is the master drawing
// with an Xref file the drawing bbbbb.vdml in the folder Desktop\Drawings (the ExternalReferencePath property has the value "..\bbbbb.vdml")
}