Click or drag to resize
Pdf Library for .NET

PdfPageObjectModel Property

Gets the objects drawn on this page (text, images, paths, groups), to read and change them. Available for the pages of a loaded document.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntax
public PdfPageObjectModel ObjectModel { get; }

Property Value

PdfPageObjectModel
Exceptions
ExceptionCondition
PdfDocumentExceptionThe document was not loaded from a PDF file or stream.
Example
PdfDocument document = new PdfDocument("in.pdf");
PdfPageObjectModel model = document.Pages[0].ObjectModel;
foreach (PdfPageObject o in model.Objects)
    Console.WriteLine(o.Kind + " " + o.Bounds);
See Also