NShape 2.2.1

Rating: No reviews yet
Downloads: 1138
Released: Jun 16, 2016
Updated: Jun 16, 2016 by KurtHolzinger
Dev status: Stable Help Icon

Recommended Download

Application NShape 2.2.1 Installer (incl. Source Code)
application, 9102K, uploaded Jun 16, 2016 - 1138 downloads

Release Notes

There are breaking changes regarding NShape 1.0.8 - please check the ReadMe.txt (installation folder) or Changes.txt (source code).

Changes in 2.2.1:

Interface Changes:
  • Definition of the abstract StyleCollection base class changed due to the fact that the implementation of the enumerator moved from the specific style collections to the base class which in turn wraps the enumerator of the internal list (see bugfixes below). Interface was changed
    • from public abstract class StyleCollection<TStyle> where TStyle : class, IStyle
    • to public abstract class StyleCollection<TStyle, TStyleInterface> : IEnumerable<TStyleInterface> where TStyle : class, TStyleInterface where TStyleInterface : class, IStyle

Bugfixes:
  • Changing the StyleCollection iterator's implementation (see above) fixes a bug where you can change the collection's key while iterating through the collection. Doing so will now raise an InvalidOperationException.
  • EmbeddedImageWriter now calls all IEntity.SaveFields and IEntity.SaveInnerObjects methods with the library's version instead of the base repository version.
  • Moving shapes with arrow keys will no longer focus the scroll bars (which will break scrolling and zooming behavior)
  • The display component no longer runs into an exception when pressing F2 while an ICaptionedShape without captions is selected.
  • Selecting shapes inside a group (or double clicking overlapping shapes) does no longer cause the Display.ShapesSelected event to be fired multiple times when OverlappingShapesAction is set to OverlappingShapesAction.Cycle.
  • RegularPolygone now draws itself in the correct size after loading from repository
  • Fixed a NullReferenceException when dragging a group of shapes loaded from XML repository
  • Saving picture shapes with to XML store with with ImageLocation == Embedded on caused a NullReferenceException.
  • Image directory was not deleted when deleting an XML repository (ImageLocation == Directory).
  • Fixed a backwards compatibility issue in XML store: Files created with NShape versions <= 1.0.3 could not be read with NShape versions >= 1.0.4.

Improvements:
  • StyleCollections will now handle renaming styles and maintain their name based indexer automatically in this case.
  • Improved drawing performance of the diagram sheet's line grid noticeably.
  • When selecting a shape and dragging it away within the double click detection time will now be handled as expected.

Reviews for this release

No reviews yet for this release.