When checking if a box of polyline contains a point (DPoint) or rect (DRect) of CADLWPolyline or CADText, I use the 'Contains' method of CADLWPolyline or CADText Entities.
Code: Select all
if (dPolyline.Box.Contains(cadText.Box.Center))
{
Console.WriteLine("Contained");
}
I do not use Z-axis values. So I would like to initialize the z-axis values of all entities.
Is there a way for it?