コード例 #1
0
 ///
 ///          <summary> * (9) get attribute ByteOrder </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumByteOrder getByteOrder()
 {
     return(EnumByteOrder.getEnum(getAttribute(AttributeName.BYTEORDER, null, null)));
 }
コード例 #2
0
 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);
 }
コード例 #3
0
        // ************************************************************************
        // * Attribute getter / setter
        // * ************************************************************************
        //

        //         ---------------------------------------------------------------------
        //        Methods for Attribute ByteOrder
        //        ---------------------------------------------------------------------
        ///
        ///          <summary> * (5) set attribute ByteOrder </summary>
        ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
        ///
        public virtual void setByteOrder(EnumByteOrder enumVar)
        {
            setAttribute(AttributeName.BYTEORDER, enumVar == null ? null : enumVar.getName(), null);
        }