Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfTablePosition

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Immutable placement and text clearance for a floating table. Distances are in points; 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

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public PdfTablePosition(PdfTableAnchor horizontalAnchor = Margin, PdfTableAnchor verticalAnchor = Flow, PdfAlign horizontalAlignment = Left, PdfTableVerticalAlignment verticalAlignment = Top, Double horizontalOffset = 0, Double verticalOffset = 0, Double distanceLeft = 0, Double distanceRight = 0, Double distanceTop = 0, Double distanceBottom = 0, Boolean mirrorHorizontalOnEvenPages = false, Boolean allowOverlap = true) #

Creates placement relative to the selected anchor rectangles.

Parameters

horizontalAnchor OfficeIMO.Pdf.PdfTableAnchor = Margin optionalposition: 0
verticalAnchor OfficeIMO.Pdf.PdfTableAnchor = Flow optionalposition: 1
horizontalAlignment OfficeIMO.Pdf.PdfAlign = Left optionalposition: 2
verticalAlignment OfficeIMO.Pdf.PdfTableVerticalAlignment = Top optionalposition: 3
horizontalOffset System.Double = 0 optionalposition: 4
verticalOffset System.Double = 0 optionalposition: 5
distanceLeft System.Double = 0 optionalposition: 6
distanceRight System.Double = 0 optionalposition: 7
distanceTop System.Double = 0 optionalposition: 8
distanceBottom System.Double = 0 optionalposition: 9
mirrorHorizontalOnEvenPages System.Boolean = false optionalposition: 10
allowOverlap System.Boolean = true optionalposition: 11

Properties

public Boolean MirrorHorizontalOnEvenPages { get; } #

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

public Boolean 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 PdfAlign HorizontalAlignment { get; } #

Horizontal alignment in the reference rectangle.

public PdfTableVerticalAlignment VerticalAlignment { get; } #

Vertical alignment in the reference rectangle.

public Double HorizontalOffset { get; } #

Horizontal offset to the right, in points.

public Double VerticalOffset { get; } #

Vertical offset downwards, in points.

public Double DistanceLeft { get; } #

Text clearance at the left edge, in points.

public Double DistanceRight { get; } #

Text clearance at the right edge, in points.

public Double DistanceTop { get; } #

Text clearance at the top edge, in points.

public Double DistanceBottom { get; } #

Text clearance at the bottom edge, in points.