Word - Delete Pages

Overview

The 'Word - Delete Pages' flow action deletes the specified pages from the Microsoft Word file provided.

The following file types are supported:

  • docx
  • dotx
  • doc
  • dot
  • docm
  • dotm
  • rtf

Credit Count

This action consumes 1 credit per operation.

Note, different Encodian actions can consume different number credits. Please always check the action specific documentation and read What is an Encodian Action for a full description of how credits are consumed.

Parameters

The default 'Word - Delete Pages' flow action parameters are detailed below:

  • Filename: The filename of the source Microsoft Word file, the file extension is mandatory: 'file.docx' and not 'file'
  • File Content: The file content of the source Microsoft Word file
  • Start Page: Set the page number to begin deleting pages from
  • End Page: Set the page number to stop deleting pages on. The default value is set to the last page of the Microsoft Word document provided
  • Page Numbers: A comma separated list of page numbers of the pages to delete: 1,3,4

Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action. 

Advanced Parameters

The advanced 'Word - Extract Pages' flow action parameters are detailed below:

  • Culture Name: This setting is used to set the culture for the document prior to conversion. Please refer to the Culture Names article for a list of supported cultures

Return Parameters

The 'Word - Delete Pages' flow action returns the following data:

Action Specific Values

  • File Content - The processed word document (Base64)

Standard Return Values

  • Filename - The filename of the document.
  • FileContent - The processed document content.
  • OperationId - The unique ID assigned to this operation.
  • HttpStatusCode - The HTTP Status code for the response.
  • HttpStatusMessage - The HTTP Status message for the response.
  • Errors - An array of error messages should an error occur.
  • Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk