public PlacementOptions(HorizontalPlacement horizontal, VerticalPlacement vertical, double offset)
 {
     this.Vertical = vertical;
     this.Horizontal = horizontal;
     this.Offset = offset;
 }
 private static bool TryParsePlacements(string arg1, string arg2, out HorizontalPlacement horizontal, out VerticalPlacement vertical)
 {
     vertical = default(VerticalPlacement);
     return (Enum.TryParse(arg1, true, out horizontal) &&
             Enum.TryParse(arg2, true, out vertical)) ||
            (Enum.TryParse(arg2, true, out horizontal) &&
             Enum.TryParse(arg1, true, out vertical));
 }