Gets or sets whether documents and images can be inserted from URIs (urls and file paths).

public boolean AllowURIs{ get; set; }
Public Property AllowURIs() As Boolean

Default is set to false. Images and external documents can only be set from byte arrays. When set to true, images and documents can be set to byte arrays or to a URI (url or filepath) that points to the image or document. Note that this poses a potential security risk associated with downloading unknown files.

          WordTemplate WordTempl = new WordTemplate();
          WordTempl.AllowURIs = true;
        
          Dim WordTempl As New WordTemplate()
          WordTempl.AllowURIs = True