Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfOcrPageRegion

Namespace OfficeIMO.Pdf.Ocr
Assembly OfficeIMO.Pdf.Ocr
Modifiers sealed

One OCR rectangle in normalized top-left visual page coordinates, after the PDF crop and page rotation.

Inheritance

  • Object
  • PdfOcrPageRegion

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public PdfOcrPageRegion(Int32 pageNumber, Double x, Double y, Double width, Double height) #

Creates a nonempty rectangle inside one one-based page.

Parameters

pageNumber System.Int32 requiredposition: 0
x System.Double requiredposition: 1
y System.Double requiredposition: 2
width System.Double requiredposition: 3
height System.Double requiredposition: 4

Properties

public Int32 PageNumber { get; } #

One-based source page.

public Double X { get; } #

Left edge, normalized to visual page width.

public Double Y { get; } #

Top edge, normalized to visual page height.

public Double Width { get; } #

Width, normalized to visual page width.

public Double Height { get; } #

Height, normalized to visual page height.