Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTablePosition

OfficeIMO.Pdf

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

Immutable placement and text clearance for a floating table. Distances are physical lengths; positive vertical offsets move down the page. Following paragraphs wrap around the table.

Inheritance

  • object
  • PdfTablePosition

Remarks

Deferred tables support top alignment because their total height is not known before streaming their rows.

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

public PdfTablePosition(PdfTableAnchor horizontalAnchor = Margin, PdfTableAnchor verticalAnchor = Flow, OfficeAlignment horizontalAlignment = Left, PdfTableVerticalAlignment verticalAlignment = Top, OfficeLength horizontalOffset = default, OfficeLength verticalOffset = default, OfficeLength distanceLeft = default, OfficeLength distanceRight = default, OfficeLength distanceTop = default, OfficeLength distanceBottom = default, bool mirrorHorizontalOnEvenPages = false, bool allowOverlap = true) #

Creates placement relative to the selected anchor rectangles.

Parameters

horizontalAnchor OfficeIMO.Pdf.PdfTableAnchor = Margin optional
verticalAnchor OfficeIMO.Pdf.PdfTableAnchor = Flow optional
horizontalAlignment OfficeIMO.OfficeAlignment = Left optional
verticalAlignment OfficeIMO.Pdf.PdfTableVerticalAlignment = Top optional
horizontalOffset OfficeIMO.OfficeLength = default optional
verticalOffset OfficeIMO.OfficeLength = default optional
distanceLeft OfficeIMO.OfficeLength = default optional
distanceRight OfficeIMO.OfficeLength = default optional
distanceTop OfficeIMO.OfficeLength = default optional
distanceBottom OfficeIMO.OfficeLength = default optional
mirrorHorizontalOnEvenPages bool = false optional
allowOverlap bool = true optional

Properties

public bool MirrorHorizontalOnEvenPages { get; } #

Reverse left/right alignment on even output pages for inside/outside placement.

public bool AllowOverlap { get; } #

Whether this table can intersect earlier floating table bounds.

public PdfTableAnchor HorizontalAnchor { get; } #

Horizontal reference rectangle.

public PdfTableAnchor VerticalAnchor { get; } #

Vertical reference rectangle.

public OfficeAlignment HorizontalAlignment { get; } #

Horizontal alignment in the reference rectangle.

public PdfTableVerticalAlignment VerticalAlignment { get; } #

Vertical alignment in the reference rectangle.

public OfficeLength HorizontalOffset { get; } #

Horizontal offset to the right, as a physical length.

public OfficeLength VerticalOffset { get; } #

Vertical offset downwards, as a physical length.

public OfficeLength DistanceLeft { get; } #

Text clearance at the left edge, as a physical length.

public OfficeLength DistanceRight { get; } #

Text clearance at the right edge, as a physical length.

public OfficeLength DistanceTop { get; } #

Text clearance at the top edge, as a physical length.

public OfficeLength DistanceBottom { get; } #

Text clearance at the bottom edge, as a physical length.