Sha256: 8e0e23a37913e303f4ef07c2d732606a745a148d7d8c445b296c230ddc4e003b
Contents?: true
Size: 571 Bytes
Versions: 1
Compression:
Stored size: 571 Bytes
Contents
module Asposewordsjavaforruby module ApplyLicense def initialize() apply_license() end def apply_license() # This line attempts to set a license from several locations relative to the executable and Aspose.Words.dll. # You can also use the additional overload to load a license from a stream, this is useful for instance when the # license is stored as an embedded resource license = Rjb::import('com.aspose.words.License').new() license.setLicense('Aspose.Words.lic') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asposewordsjavaforruby-0.0.5 | lib/asposewordsjavaforruby/applylicense.rb |