internal override bool TrySetPair(DxfCodePair pair) { switch (pair.Code) { case 70: this.IsDisplayFrameImage = BoolShort(pair.ShortValue); break; case 71: this.IsHighDisplayQuality = BoolShort(pair.ShortValue); break; case 72: this.ImageUnits = (DxfRasterImageUnits)(pair.ShortValue); break; case 90: this.ClassVersion = (pair.IntegerValue); break; default: return(base.TrySetPair(pair)); } return(true); }
protected override void Initialize() { base.Initialize(); this.ClassVersion = 0; this.IsDisplayFrameImage = false; this.IsHighDisplayQuality = false; this.ImageUnits = DxfRasterImageUnits.None; }