コード例 #1
0
 /// <summary>
 /// The constructors for conversion
 /// </summary>
 /// <param name="apiUser">The API username given by msword2image.com</param>
 /// <param name="apiKey">The API password given by msword2image.com</param>
 public MsWordToImageConvert(string apiUser, string apiKey)
 {
     this.apiUser = apiUser;
     this.apiKey = apiKey;
     this.input = null;
     this.output = null;
 }
コード例 #2
0
 /// <summary>
 /// Convert from given URL 
 /// </summary>
 /// <param name="url">The URL of the word document</param>
 public void fromURL(string url)
 {
     this.input = new Input(InputType.URL, url);
 }
コード例 #3
0
 /// <summary>
 /// Convert from file with given name
 /// </summary>
 /// <param name="filename">The filename given</param>
 public void fromFile(string filename)
 {
     this.input = new Input(InputType.File, filename);
 }