public void RemoveAttachmentPages( string attachmentType, string attachmentFile, IEnumerable <int> pageNumbers) { IAttachmentManipulator attachmentManipulator = ObtainAttachmentManipulator(attachmentType); if (attachmentManipulator != null) { attachmentManipulator.RemoveAttachmentPages(attachmentFile, pageNumbers); } }
public void CopyAttachmentPages( string attachmentType, string sourceAttachmentFile, string destinantionAttachmentFile, IEnumerable <int> pageNumbers) { IAttachmentManipulator attachmentManipulator = ObtainAttachmentManipulator(attachmentType); if (attachmentManipulator != null) { attachmentManipulator.CopyAttachmentPages(sourceAttachmentFile, destinantionAttachmentFile, pageNumbers); } }