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