/// /// <summary> * (9) get attribute OutputColorSpace </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumOutputColorSpace getOutputColorSpace() { return(EnumOutputColorSpace.getEnum(getAttribute(AttributeName.OUTPUTCOLORSPACE, null, null))); }
static JDFAutoScanParams() { atrInfoTable[0] = new AtrInfoTable(AttributeName.BITDEPTH, 0x22222222, AttributeInfo.EnumAttributeType.integer, null, null); atrInfoTable[1] = new AtrInfoTable(AttributeName.MAGNIFICATION, 0x33333333, AttributeInfo.EnumAttributeType.XYPair, null, "1 1"); atrInfoTable[2] = new AtrInfoTable(AttributeName.OUTPUTCOLORSPACE, 0x22222222, AttributeInfo.EnumAttributeType.enumeration, EnumOutputColorSpace.getEnum(0), null); atrInfoTable[3] = new AtrInfoTable(AttributeName.COMPRESSIONFILTER, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumCompressionFilter.getEnum(0), null); atrInfoTable[4] = new AtrInfoTable(AttributeName.DCTQUALITY, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[5] = new AtrInfoTable(AttributeName.INPUTBOX, 0x33333333, AttributeInfo.EnumAttributeType.rectangle, null, null); atrInfoTable[6] = new AtrInfoTable(AttributeName.MOUNTID, 0x33333333, AttributeInfo.EnumAttributeType.shortString, null, null); atrInfoTable[7] = new AtrInfoTable(AttributeName.MOUNTING, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumMounting.getEnum(0), null); atrInfoTable[8] = new AtrInfoTable(AttributeName.OUTPUTRESOLUTION, 0x33333333, AttributeInfo.EnumAttributeType.XYPair, null, null); atrInfoTable[9] = new AtrInfoTable(AttributeName.OUTPUTSIZE, 0x33333333, AttributeInfo.EnumAttributeType.XYPair, null, null); atrInfoTable[10] = new AtrInfoTable(AttributeName.SPLITDOCUMENTS, 0x33333333, AttributeInfo.EnumAttributeType.integer, null, null); elemInfoTable[0] = new ElemInfoTable(ElementName.FILESPEC, 0x66666666); }
// --------------------------------------------------------------------- // Methods for Attribute OutputColorSpace // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute OutputColorSpace </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setOutputColorSpace(EnumOutputColorSpace enumVar) { setAttribute(AttributeName.OUTPUTCOLORSPACE, enumVar == null ? null : enumVar.getName(), null); }