public DestAction(XmlDocument xmlDocument, DestType type, string pageId, double left, double right, double top, double bottom, double zoom) : base(xmlDocument, "Dest") { Type = type; PageId = pageId; Left = left; Right = right; Top = top; Bottom = bottom; Zoom = zoom; Element.SetAttribute("Type", type.ToString()); Element.SetAttribute("PageID", pageId); Element.SetAttribute("Left", left.ToString(CultureInfo.InvariantCulture)); Element.SetAttribute("Right", right.ToString(CultureInfo.InvariantCulture)); Element.SetAttribute("Top", top.ToString(CultureInfo.InvariantCulture)); Element.SetAttribute("Bottom", bottom.ToString(CultureInfo.InvariantCulture)); Element.SetAttribute("Zoom", zoom.ToString(CultureInfo.InvariantCulture)); }