ShapeBase.distanceRight property. Returns or sets the distance (in points) between the document text and the right edge of the shape....let doc = new aw . Document (); let builder = new aw . DocumentBuilder...shape = builder . insertShape ( aw . Drawing . ShapeType . Rectangle...