public override bool Equals(Object obj) { return obj is PageDimensions && this == (PageDimensions)obj; }