Skip to main content

Get Page Count

This activity retrieves the total number of pages in a PDF document provided as a memory stream.

Core Functions

  • Reads the PDF file from the provided memory stream
  • Analyzes the document structure
  • Counts the total number of pages
  • Returns the page count as output

Inputs

  • PdfMemoryStream: Represents the source PDF file in memory stream format
    Type: MemoryStream

Outputs

  • Output: The total number of pages in the PDF document
    Type: Integer

Short Technical Summary

Counts the number of pages in a PDF memory stream and returns the result as an integer value.