Exemple #1
0
        public void RemoveAttachmentPages(
            string attachmentType,
            string attachmentFile,
            IEnumerable <int> pageNumbers)
        {
            IAttachmentManipulator attachmentManipulator = ObtainAttachmentManipulator(attachmentType);

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

            if (attachmentManipulator != null)
            {
                attachmentManipulator.CopyAttachmentPages(sourceAttachmentFile, destinantionAttachmentFile, pageNumbers);
            }
        }