/// /// <summary> * (9) get attribute Segmentation </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumSegmentation getSegmentation() { return(EnumSegmentation.getEnum(getAttribute(AttributeName.SEGMENTATION, null, null))); }
static JDFAutoTIFFFormatParams() { atrInfoTable[0] = new AtrInfoTable(AttributeName.BYTEORDER, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumByteOrder.getEnum(0), null); atrInfoTable[1] = new AtrInfoTable(AttributeName.INTERLEAVING, 0x33333311, AttributeInfo.EnumAttributeType.integer, null, "1"); atrInfoTable[2] = new AtrInfoTable(AttributeName.WHITEISZERO, 0x33333311, AttributeInfo.EnumAttributeType.boolean_, null, "true"); atrInfoTable[3] = new AtrInfoTable(AttributeName.SEGMENTATION, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumSegmentation.getEnum(0), null); atrInfoTable[4] = new AtrInfoTable(AttributeName.ROWSPERSTRIP, 0x33333311, AttributeInfo.EnumAttributeType.integer, null, null); atrInfoTable[5] = new AtrInfoTable(AttributeName.TILESIZE, 0x33333311, AttributeInfo.EnumAttributeType.XYPair, null, null); atrInfoTable[6] = new AtrInfoTable(AttributeName.SEPARATIONNAMETAG, 0x33333311, AttributeInfo.EnumAttributeType.integer, null, "270"); elemInfoTable[0] = new ElemInfoTable(ElementName.TIFFTAG, 0x33333311); elemInfoTable[1] = new ElemInfoTable(ElementName.TIFFEMBEDDEDFILE, 0x33333311); }
// --------------------------------------------------------------------- // Methods for Attribute Segmentation // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute Segmentation </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setSegmentation(EnumSegmentation enumVar) { setAttribute(AttributeName.SEGMENTATION, enumVar == null ? null : enumVar.getName(), null); }