Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfImageSourceCrop

OfficeIMO.Pdf

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

Describes a source-image crop rectangle using fractions of the original image edges.

Inheritance

  • object
  • PdfImageSourceCrop

Usage

Explore 1 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.

Returned or exposed by 1

Constructors

PdfImageSourceCrop 2 overloads
public PdfImageSourceCrop() #

Creates a crop rectangle with no cropped edges.

public PdfImageSourceCrop(double left, double top, double right, double bottom) #

Creates a crop rectangle using fractions from 0 to less than 1 for each edge.

Parameters

left double required
top double required
right double required
bottom double required

Properties

public double Left { get; set; } #

Fraction cropped from the left edge of the source image.

public double Top { get; set; } #

Fraction cropped from the top edge of the source image.

public double Right { get; set; } #

Fraction cropped from the right edge of the source image.

public double Bottom { get; set; } #

Fraction cropped from the bottom edge of the source image.