История страницы
...
Split PDF Version 3 (Net)
Группа действийAction group: PDF
Описание
...
Description
This action takes a PDF-document as input, and saves each page of the PDF-file to a folder. The names of the resulting pdfs will look like the following: "Name_PDF-Number_Page_Number.pdf". For example: contractДанное действие принимает на вход pdf-документ, и сохраняет в папку каждую страницу pdf-файла. Имена результирующих pdf будут выглядеть следующим образом: "Имя_ПДФ-Номер_страницы.pdf". Например: договор-1.pdf, договорcontract-2.pdf и так далее, and so on.
...
Action icon
...
Settings of parameters
Property |
---|
Description |
---|
Type |
---|
Тип
Пример заполнения
Обязательность заполнения поля
Параметры
Контекст
Context
Filling example | Mandatory field | |||
---|---|---|---|---|
Parameters | ||||
Context | Action context for working with an PDF-document | Robin.PDF |
PDF context |
Да
Путь до папки
Path to folder
Путь до каталога, куда необходимо сложить страницы
Robin.FolderPath
C:\Users\PDF
Да
Результаты
Результат
Result
Коллекция путей до получившихся pdf файлов
Robin.Collection
Особые условия использования
Отсутствуют.
Пример использования
Задача: необходимо открыть файл PDF и разделить каждую страницу документа на отдельный PDF документ (все документы сохранить в папку на рабочий стол) и закрыть документ.
Решение: воспользоваться действиями "Открыть", "Разделить PDF", "Закрыть".
Реализация:
- Собрать схему робота, состоящую из действий:
- Настроить параметр действия "Открыть".
- Настроить параметры для действия "Разделить PDF".
- Нажать на кнопку "Старт" в верхней панели.
Результат:
Программный робот отработал успешно. Каждая страница PDF документа сохранена, как отдельный документ в папке.
Yes | ||||
Target folder | Path to the directory where the pages will be saved. | Robin.FolderPath | C:\doc\img | Yes |
Split method | The method of splitting a PDF document. If the page-by-page method is selected, then each page of the PDF document will be saved separately. If the ranges method is selected, only the pages of the PDF document that are specified in the ranges will be saved. | Robin.String | Yes | |
Page Range | The range of pages by which the PDF document will be divided. The page range can be a number or two numbers separated by «-«, while the second number must be greater than the first. Example of filling: «1-5» or «6». It is taken into account if the method of dividing into ranges is selected. | Robin.String | No | |
Results | ||||
---|---|---|---|---|
Result | Collection of paths to the resulting pdf files. | Robin.Collection |
Special conditions of use
None.
Example of use
Task
Open the PDF-file and split each page of the document into a separate PDF-document (save all documents in a folder on the desktop) and close the document.
Solution
Use actions "Open PDF", "Split PDF", "Close PDF".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the "Open PDF" action parameter.
- Set the "Split PDF" action parameters.
- Press the "Start" button in the top panel.
Result:
The program robot completed successfully. Each page of the PDF-file is saved as a separate document in the folder.