/// /// <summary> * (9) get attribute Masking </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumMasking getMasking() { return(EnumMasking.getEnum(getAttribute(AttributeName.MASKING, null, null))); }
static JDFAutoBarcodeReproParams() { atrInfoTable[0] = new AtrInfoTable(AttributeName.BEARERBARS, 0x33333111, AttributeInfo.EnumAttributeType.enumeration, EnumBearerBars.getEnum(0), null); atrInfoTable[1] = new AtrInfoTable(AttributeName.HEIGHT, 0x33333111, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[2] = new AtrInfoTable(AttributeName.MAGNIFICATION, 0x33333111, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[3] = new AtrInfoTable(AttributeName.MASKING, 0x33333111, AttributeInfo.EnumAttributeType.enumeration, EnumMasking.getEnum(0), null); atrInfoTable[4] = new AtrInfoTable(AttributeName.MODULEHEIGHT, 0x33333111, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[5] = new AtrInfoTable(AttributeName.MODULEWIDTH, 0x33333111, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[6] = new AtrInfoTable(AttributeName.RATIO, 0x33333111, AttributeInfo.EnumAttributeType.double_, null, null); elemInfoTable[0] = new ElemInfoTable(ElementName.BARCODECOMPPARAMS, 0x33333111); }
// --------------------------------------------------------------------- // Methods for Attribute Masking // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute Masking </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setMasking(EnumMasking enumVar) { setAttribute(AttributeName.MASKING, enumVar == null ? null : enumVar.getName(), null); }