private XmlElement writeCommonObjectAttributes(IObject obj, XmlElement objectDescription) { objectDescription.SetAttribute("objectID", obj.ObjectId.ToString()); objectDescription.SetAttribute("slideID", obj.SlideId.ToString()); //objectDescription.SetAttribute("zIndex", obj.Z.ToString()); objectDescription.SetAttribute("lX", Utilities.ConvertXCoordinate(obj.GetObjectPosition().X)); objectDescription.SetAttribute("tY", Utilities.ConvertYCoordinate(obj.GetObjectPosition().Y)); // objectDescription.SetAttribute("X", Utilities.ConvertXCoordinate(obj.GetObjectPosition().X)); // objectDescription.SetAttribute("Y", Utilities.ConvertYCoordinate(obj.GetObjectPosition().Y)); objectDescription.SetAttribute("rX", Utilities.ConvertXCoordinate(obj.GetObjectPosition().Width + obj.GetObjectPosition().X)); objectDescription.SetAttribute("bY", Utilities.ConvertYCoordinate(obj.GetObjectPosition().Height + obj.GetObjectPosition().Y)); return objectDescription; }