コード例 #1
0
 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;
 }