예제 #1
0
 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);
 }
예제 #2
0
 ///
 ///          <summary> * (9) get attribute CompressionFilter </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumCompressionFilter getCompressionFilter()
 {
     return(EnumCompressionFilter.getEnum(getAttribute(AttributeName.COMPRESSIONFILTER, null, null)));
 }