/// /// <summary> * (20) get JDFLabColor attribute Lab </summary> /// * <returns> JDFLabColor the value of the attribute, null if a the /// * attribute value is not a valid to create a JDFLabColor </returns> /// public virtual JDFLabColor getLab() { string strAttrName = ""; JDFLabColor nPlaceHolder = null; strAttrName = getAttribute(AttributeName.LAB, null, JDFConstants.EMPTYSTRING); try { nPlaceHolder = new JDFLabColor(strAttrName); } catch (FormatException) { return(null); } return(nPlaceHolder); }
// --------------------------------------------------------------------- // Methods for Attribute Lab // --------------------------------------------------------------------- /// /// <summary> * (36) set attribute Lab </summary> /// * <param name="value">: the value to set the attribute to </param> /// public virtual void setLab(JDFLabColor @value) { setAttribute(AttributeName.LAB, @value, null); }