lib/groupdocs/document/annotation.rb in groupdocs-1.9.0 vs lib/groupdocs/document/annotation.rb in groupdocs-2.0.0

- old
+ new

@@ -1,10 +1,11 @@ module GroupDocs class Document::Annotation < Api::Entity require 'groupdocs/document/annotation/reply' require 'groupdocs/document/annotation/reviewer' + require 'groupdocs/document/annotation/marker' include Api::Helpers::AccessMode #AnnotationType = { Text: 0, Area: 1, Point: 2, TextStrikeout: 3, Polyline: 4, TextField: 5, Watermark: 6, TextReplacement: 7, Arrow: 8, TextRedaction 9, ResourceRedaction 10, TextUnderline 11, Distance 12, All 13 } @@ -67,9 +68,13 @@ attr_accessor :creatorEmail #@attr [Long] penColor attr_accessor :layerId #@attr [Int] penWidth attr_accessor :backgroundColor + + #added in release 2.0.0 + #@attr [String] text + attr_accessor :text # Compatibility with response JSON alias_method :annotationGuid=, :guid= # Human-readable accessors