PageContents Property
Gets collection of operators in the content stream of the page. OperatorCollection

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 21.9.0
Syntax
public OperatorCollection Contents { get; }

Property Value

Type: OperatorCollection
Examples
Example is demonstrates how to scan operators stream of page.
C#
Document document = new Document("sample.pdf");
Operators contents = document.Pages[1].Contents;
foreach(Operator op in contents)
{
    Console.WriteLine(op);
}
See Also