Exemple #1
0
        setPointStyleBOT()
        {
            ObjectId   idPntStyle  = BaseObjs._civDoc.Styles.PointStyles["BOT"];
            PointStyle objPntStyle = default(PointStyle);

            if ((idPntStyle.IsNull))
            {
                objPntStyle = CgPnts.getPntStyle("BOT");
            }

            objPntStyle.MarkerType = PointMarkerDisplayType.UsePointForMarker;
            objPntStyle.GetMarkerDisplayStyleModel().Color   = clr.byl;
            objPntStyle.GetMarkerDisplayStyleModel().Visible = true;
            objPntStyle.GetMarkerDisplayStylePlan().Color    = clr.byl;
            objPntStyle.GetMarkerDisplayStylePlan().Visible  = true;
            objPntStyle.GetLabelDisplayStyleModel().Color    = clr.byl;
            objPntStyle.GetLabelDisplayStyleModel().Visible  = true;
            objPntStyle.GetLabelDisplayStylePlan().Color     = clr.byl;
            objPntStyle.GetLabelDisplayStylePlan().Visible   = true;
        }