PdfTableCellViewport
OfficeIMO.Pdf
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
- Property PdfTableCell.Viewport
Accepted by parameters 1
- Method PdfTableCell.WithViewport
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
- contentHeight OfficeIMO.OfficeLength
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- offsetX OfficeIMO.OfficeLength = default
- offsetY OfficeIMO.OfficeLength = default
Inherited Methods
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 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.