Article | 60001231 |
Type | HowTo |
Product | Engine |
Version | 6 |
Date Added | 9/24/2010 |
Submitted by | R K Verma |
Keywords |
vdFramedControl1.BaseControl.ActiveDocument.CommandAction.CmdSelect("USER"); //select some entities in the drawing VectorDraw.Professional.vdCollections.vdSelection sel = vdFramedControl1.BaseControl.ActiveDocument.Selections.FindName("VDRAW_PREVIOUS_SELSET"); object[] arr = new object[sel.Count]; int i = 0; foreach (VectorDraw.Professional.vdPrimaries.vdFigure var in sel) { arr.SetValue(var, i); i++; } propertyGrid1.SelectedObjects = arr;and you will see that this microsoft control will display properly the properties and objects.