Skip to end of metadata
Go to start of metadata
Contents Summary

The source code in below examples uses some methods defined in Working with Common Utilities

Distance Annotation

Using Next Generation GroupDocs.Annotation user can add multitude of annotations in supported file formats. In this article we will cover each and every aspect of adding Distance Annotation in Diagrams.

Adding Distance Annotation

Distance Annotation is used to draw a line that represents distance between to objects or anything. API provides multiple properties to control annotation's appearance in the document. Below are some properties related to Distance Annotation used in this example:

  • CreatedOn
  • Type
  • Box
  • SvgPath

User will have to define the annotation type for each annotation. AnnotationType.Distance type is used for distance annotation.

Code Example for Diagrams Document

Following code example shows how to add distance annotation in a Diagrams document.

Download Sample

Please download the sample files used in the example.

  • No labels