API Reference

Class

PdfSelectionQuad

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

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

Inheritance

  • Object
  • PdfSelectionQuad

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

Methods

public Boolean Contains(Double x, Double y, Double tolerance = 0) #
Returns: Boolean

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

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
tolerance System.Double = 0 optionalposition: 2

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.