PdfTablePosition
OfficeIMO.Pdf
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
- Property PdfTableStyle.Position
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
- verticalAnchor OfficeIMO.Pdf.PdfTableAnchor = Flow
- horizontalAlignment OfficeIMO.OfficeAlignment = Left
- verticalAlignment OfficeIMO.Pdf.PdfTableVerticalAlignment = Top
- horizontalOffset OfficeIMO.OfficeLength = default
- verticalOffset OfficeIMO.OfficeLength = default
- distanceLeft OfficeIMO.OfficeLength = default
- distanceRight OfficeIMO.OfficeLength = default
- distanceTop OfficeIMO.OfficeLength = default
- distanceBottom OfficeIMO.OfficeLength = default
- mirrorHorizontalOnEvenPages bool = false
- allowOverlap bool = true
Inherited Methods
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 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.