Point
Previous Topic  Next Topic 

 

 

sdPoint

 

A point (sdPoint) can be appear as circle, square, dot or combination of these. 

 

ActivePointSize controls the size of point figure for all the point objects in the drawing.

ActivePointStyle controls the appearance of all the point objects in the drawing.

 

 

The pattern value for each of the point style.

 

 

 

 

Changing Point Styles

 

        private void butPtStyles_Click(object sender, EventArgs e)

        {

            // Create new Document

            fDrawCtrl1.Document.NewDocument();

            // Create 3 points entities.

            fDrawCtrl1.Document.AddPoint(new Point3D(0, 0, 0));

            fDrawCtrl1.Document.AddPoint(new Point3D(10, 0, 0));

            fDrawCtrl1.Document.AddPoint(new Point3D(5, 5, 0));

            // Set the active point size to 10

            fDrawCtrl1.Document.ActivePointSize = 10;

            // Set the active point style to style 2.

            fDrawCtrl1.Document.ActivePointStyle = 2;

            // Zoom All

            fDrawCtrl1.Document.ZoomAll();

            fDrawCtrl1.Refresh();

        }