public void AddEffectToAllFiles(IPdfEffect effect)
 {
     effects.Add(effect);
     foreach (BatchFile file in batchFiles)
     {
         file.LocalEffectSettings.Add(effect.GetLocalSettings());
     }
 }
示例#2
0
 public ILocalPdfEffectSettings GetLocalSettingsForEffect(IPdfEffect effect)
 {
     foreach(ILocalPdfEffectSettings settings in localSettings)
     {
         if (settings.GetMainEffect() == effect) return settings;
     }
     return null;
 }