For determining the file extension of a given
project type.
Parameters
- projectType
- Project type (List, Label or Card) the file extension is to be queried for.
- fileType
- Type of the project file.
Return Value
Returns the queried file extension (without point) as string; e.g. "lst".
Below List & Label is queried which file extension and PrinterSettings are defined for list projects.
// ask LL for file extension of list projects
string listProjectFileExtension = LL.FileExtensions.GetFileExtension(LlProject.List, LlFileType.Project);
string listPrinterSettingsFileExtension = LL.FileExtensions.GetFileExtension(LlProject.List, LlFileType.PrinterSettings);
' ask LL for file extension of list projects
Dim listProjectFileExtension As String = LL.FileExtensions.GetFileExtension(LlProject.List, LlFileType.Project)
Dim listPrinterSettingsFileExtension As String = LL.FileExtensions.GetFileExtension(LlProject.List, LlFileType.PrinterSettings)
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9