public static List <HorizontalGeometryPointLabel> GetProfileLabels(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <HorizontalGeometryPointLabel> retLabels = new List <HorizontalGeometryPointLabel>();

            foreach (DBObject dbObj in GetLabelStylesAsDBObjects(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.ProfileLabelStyles.HorizontalGeometryPointLabelStyles))
            {
                HorizontalGeometryPointLabel labelObject = new HorizontalGeometryPointLabel(dbObj, false);
                retLabels.Add(labelObject);
            }
            return(retLabels);
        }
        public static HorizontalGeometryPointLabel ByName(Autodesk.AutoCAD.DynamoNodes.Document document, string labelStyleName)
        {
            HorizontalGeometryPointLabel retLabel = new HorizontalGeometryPointLabel(DBObjectByName(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.ProfileLabelStyles.HorizontalGeometryPointLabelStyles, labelStyleName), false);

            return(retLabel);
        }