Gets or sets the URL of the control's license file.
Namespace: MindFusion.Common
File: Control.js
JavaScript Copy Code |
---|
get licenseLocation() {} |
Type: String
String. A valid URL string that specifies the location of the license key.
The following code uses the licenseLocation property to specify the path to the license file of a Gauge control:
JavaScript Copy Code |
---|
var scale = new OvalScale(clock); scale.setMinValue(0); scale.setMaxValue(timeLimit); scale.setStartAngle(-90); scale.setEndAngle(270); scale.setFill('Transparent'); scale.setStroke('Transparent'); scale.licenseLocation = "https://mywebsite.biz/license_file.txt"; |