Sha256: 53cad6b3baf072841ef9de7ec2c0ae8bc407070a288df170880110c0a3f0f08c
Contents?: true
Size: 786 Bytes
Versions: 1
Compression:
Stored size: 786 Bytes
Contents
module GroupDocs class Document::Field < Api::Entity # @attr [Integer] page attr_accessor :page # @attr [String] name attr_accessor :name # @attr [String] type attr_accessor :type # @attr [GroupDocs::Document::Rectangle] rect attr_accessor :rect # @attr [String] maxlength attr_accessor :maxlength # @attr [Boolean] mandatory attr_accessor :mandatory # # Coverts passed hash to GroupDocs::Document::Rectangle object. # @param [Hash] options # def rect=(rectangle) if rectangle.is_a?(Hash) rectangle = GroupDocs::Document::Rectangle.new(rectangle) end @rect = rectangle end # Human-readable accessors alias_accessor :rectangle, :rect end # Document::Field end # GroupDocs
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
groupdocs-1.5.7 | lib/groupdocs/document/field.rb |