UrlAccessSecurityLevelSetting.RegisterCustomBaseDirectories(String[]) Method
Enables using the “file://“ protocol for loading images to the specified directories.
Namespace: DevExpress.Utils
Assembly: DevExpress.Data.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
baseDirectories | String[] | An array of String values, specifying the custom directories. |
Returns
Type | Description |
---|---|
Boolean | true, if loading images to custom directories is enabled; otherwise, false. |
Remarks
On calling this method, the UrlAccessSecurityLevelSetting.SecurityLevel property becomes set to UrlAccessSecurityLevel.Custom.
This method returns false if registering custom directories has failed (for example, if another directory has already been specified by the Document Viewer).
See Also