API Reference
PdfTablePosition
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
- Property PdfTableStyle.Position
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
- verticalAnchor OfficeIMO.Pdf.PdfTableAnchor = Flow
- horizontalAlignment OfficeIMO.Pdf.PdfAlign = Left
- verticalAlignment OfficeIMO.Pdf.PdfTableVerticalAlignment = Top
- horizontalOffset System.Double = 0
- verticalOffset System.Double = 0
- distanceLeft System.Double = 0
- distanceRight System.Double = 0
- distanceTop System.Double = 0
- distanceBottom System.Double = 0
- mirrorHorizontalOnEvenPages System.Boolean = false
- allowOverlap System.Boolean = true
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.