Skip to main content

Get Paragraph Count

This activity calculates the total number of paragraphs in a PDF document provided as a memory stream.

Core Functions

  • Reads the PDF file from the provided memory stream
  • Extracts textual content from all pages
  • Analyzes the text structure to detect paragraph boundaries
  • Counts the total number of paragraphs found in the document
  • Returns the paragraph count as output

Inputs

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

Outputs

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

Short Technical Summary

Analyzes the text content of a PDF memory stream to calculate and return the total paragraph count.