Struct
PdfColumnWidth
OfficeIMO.Pdf
Immutable row-column sizing value. Use PdfColumnWidth.Relative, PdfColumnWidth.Fixed, PdfColumnWidth.Auto, or PdfColumnWidth.Percent to make sizing intent explicit.
Inheritance
- ValueType
- PdfColumnWidth
Usage
Explore 7 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 5
- Method PdfColumnWidth.Auto
- Method PdfColumnWidth.Fixed
- Method PdfColumnWidth.Percent
- Method PdfColumnWidth.Relative
- Property PdfFlowColumn.Width
Accepted by parameters 2
- Constructor PdfFlowColumn.PdfFlowColumn
- Method PdfRowBuilder.Column
Methods
public static PdfColumnWidth Auto(OfficeLength minimum = default, OfficeLength? maximum = null) #Creates a content-sized column, optionally constrained in points.
Parameters
- minimum OfficeIMO.OfficeLength = default
- maximum OfficeIMO.OfficeLength? = null
Returns
PdfColumnWidthpublic static PdfColumnWidth Fixed(OfficeLength points) #Creates a column with an exact width in points.
Parameters
- points OfficeIMO.OfficeLength
Returns
PdfColumnWidthpublic static PdfColumnWidth Percent(double percent) #Creates a column that consumes a percentage of available row width.
Parameters
- percent double
Returns
PdfColumnWidthpublic static PdfColumnWidth Relative(double weight = 1) #Creates a column that receives a weighted share of remaining width.
Parameters
- weight double = 1
Returns
PdfColumnWidth