How to change the values ie text, I'd try Converter.Load and Refresh the image simple do not change, where did I made mistake?
I'm using DXF and dll 11 version
Code: Select all
foreach (var item in cadImage.Layouts[0].Entities)
{
if (item.EntType==EntityType.Text)
{
(item as CADText).Text = "SOMECHANGES";
}
if (item.EntType == EntityType.MText)
{
(item as CADMText).Text = "SOMECHANGES";
}
cadImage.Converter.Loads(item);
}
cadImage.RefreshCurrentLayout();
cadPictBox.Refresh();
cadPictBox.Invalidate();
Thank You In Advance