ProfileUtilLoadProfile(String, FileDeletionOption, Boolean) Method
|
Takes settings, alerts, and files from a profile, and applies them to a printer.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax void LoadProfile(
string pathToProfile,
FileDeletionOption filesToDelete,
bool isVerbose
)
Sub LoadProfile (
pathToProfile As String,
filesToDelete As FileDeletionOption,
isVerbose As Boolean
)
void LoadProfile(
String^ pathToProfile,
FileDeletionOption filesToDelete,
bool isVerbose
)
Parameters
- pathToProfile String
- Path to the profile to load. (e.g. /home/user/profile.zprofile)
- filesToDelete FileDeletionOption
- An enum describing which files to delete.
- isVerbose Boolean
- Increases the amount of detail presented to the user when loading firmware from the profile
Exceptions Exception | Condition |
---|
IOException | If the profile does not exist or could not be read. |
ConnectionException | If there is an error communicating with the printer. |
Remarks
Before doing so, it deletes the files described by filesToDelete from the printer.
See Also