Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfSelectionQuad

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

A four-corner selection or hit-test region in visual top-left page coordinates.

Inheritance

  • object
  • PdfSelectionQuad

Remarks

Visual coordinates are numeric physical points (1/72 inch), with a top-left origin after crop, rotation and /UserUnit scaling. Use the page coordinate mapping methods when calling native read/edit APIs.

Usage

Explore 5 API references to this type

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

Methods

public bool Contains(double x, double y, double tolerance = 0) #

Returns true when the point lies inside this quad, with optional tolerance in points.

Parameters

x double required
y double required
tolerance double = 0 optional

Returns

bool

Properties

public PdfSelectionPoint TopLeft { get; } #

Top-left corner.

public PdfSelectionPoint TopRight { get; } #

Top-right corner.

public PdfSelectionPoint BottomRight { get; } #

Bottom-right corner.

public PdfSelectionPoint BottomLeft { get; } #

Bottom-left corner.

public double Left { get; } #

Smallest horizontal coordinate.

public double Top { get; } #

Smallest vertical coordinate.

public double Right { get; } #

Largest horizontal coordinate.

public double Bottom { get; } #

Largest vertical coordinate.

public double Width { get; } #

Axis-aligned bounding width.

public double Height { get; } #

Axis-aligned bounding height.