Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTableCellViewport

OfficeIMO.Pdf

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

Describes the visible portion of a larger table cell. The renderer lays out text, images, diagonal borders, data bars and icons in the full box and clips them to the containing cell, preserving wrapping and alignment across page fragments. Check boxes and form fields require separate placement.

Inheritance

  • object
  • PdfTableCellViewport

Usage

Explore 2 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

Accepted by parameters 1

Constructors

public PdfTableCellViewport(OfficeLength contentWidth, OfficeLength contentHeight, OfficeLength width, OfficeLength height, OfficeLength offsetX = default, OfficeLength offsetY = default) #

Creates a viewport in one consistent coordinate system. Width and height are the visible fragment's dimensions; content dimensions describe the unsplit cell, and offsets locate the fragment from that cell's top-left corner. The viewport scales with the rendered cell's width and height.

Parameters

contentWidth OfficeIMO.OfficeLength required
contentHeight OfficeIMO.OfficeLength required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
offsetX OfficeIMO.OfficeLength = default optional
offsetY OfficeIMO.OfficeLength = default optional

Properties

public OfficeLength ContentWidth { get; } #

Width of the full content box before clipping.

public OfficeLength ContentHeight { get; } #

Height of the full content box before clipping.

public OfficeLength Width { get; } #

Width of the visible fragment.

public OfficeLength Height { get; } #

Height of the visible fragment.

public OfficeLength OffsetX { get; } #

Horizontal offset of the fragment within the full content box.

public OfficeLength OffsetY { get; } #

Vertical offset of the fragment within the full content box.