コード例 #1
0
        public virtual void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _textIndent = (IfcSizeSelect)value.EntityVal;
                break;

            case 1:
                _textAlign = (IfcTextAlignment)value.EntityVal;
                break;

            case 2:
                _textDecoration = (IfcTextDecoration)value.EntityVal;
                break;

            case 3:
                _letterSpacing = (IfcSizeSelect)value.EntityVal;
                break;

            case 4:
                _wordSpacing = (IfcSizeSelect)value.EntityVal;
                break;

            case 5:
                _textTransform = (IfcTextTransformation)value.EntityVal;
                break;

            case 6:
                _lineHeight = (IfcSizeSelect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
コード例 #2
0
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _textIndent = (IfcSizeSelect) value.EntityVal;
             break;
         case 1:
             _textAlign = (IfcTextAlignment) value.EntityVal;
             break;
         case 2:
             _textDecoration = (IfcTextDecoration) value.EntityVal;
             break;
         case 3:
             _letterSpacing = (IfcSizeSelect) value.EntityVal;
             break;
         case 4:
             _wordSpacing = (IfcSizeSelect) value.EntityVal;
             break;
         case 5:
             _textTransform = (IfcTextTransformation) value.EntityVal;
             break;
         case 6:
             _lineHeight = (IfcSizeSelect) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }