private void CheckDefaultViewers(PdfCreatorSettings settings) { foreach (var outputFormat in PdfCreatorSettings.GetDefaultViewerFormats()) { if (!settings.DefaultViewers.Any(v => v.OutputFormat == outputFormat)) { settings.DefaultViewers.Add(new DefaultViewer { IsActive = false, OutputFormat = outputFormat, Parameters = "", Path = "" }); } } }