Call this function to add a sub folder.
![]() |
---|
DlxFolder.NewFolder(name) |
Parameters
Parameter | Description |
---|---|
name | The folder name. |
Return Value
Returns the object corresponding to the folder. Call the IsValid() method to determine if the folder was created correctly.
Example
![]() |
|
---|---|
var folder = DlxApp.GetJob().GetFolder("folder1");
if (folder.IsValid())
{
if (!folder.NewFolder("folder2").IsValid())
{
throw new Error("An error occurred while creating the folder.");
}
}
|