/// /// <summary> * (9) get attribute TrimmingType </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumTrimmingType getTrimmingType() { return(EnumTrimmingType.getEnum(getAttribute(AttributeName.TRIMMINGTYPE, null, null))); }
static JDFAutoTrimmingParams() { atrInfoTable[0] = new AtrInfoTable(AttributeName.TRIMCOVER, 0x33333111, AttributeInfo.EnumAttributeType.enumeration, EnumTrimCover.getEnum(0), "Both"); atrInfoTable[1] = new AtrInfoTable(AttributeName.WIDTH, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[2] = new AtrInfoTable(AttributeName.HEIGHT, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[3] = new AtrInfoTable(AttributeName.TRIMMINGOFFSET, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[4] = new AtrInfoTable(AttributeName.TRIMMINGTYPE, 0x44444431, AttributeInfo.EnumAttributeType.enumeration, EnumTrimmingType.getEnum(0), null); }
// --------------------------------------------------------------------- // Methods for Attribute TrimmingType // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute TrimmingType </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setTrimmingType(EnumTrimmingType enumVar) { setAttribute(AttributeName.TRIMMINGTYPE, enumVar == null ? null : enumVar.getName(), null); }