API Reference
Struct
PdfColumnWidth
Immutable row-column sizing value. Use Double), Double), Double>), or Double) to make sizing intent explicit.
Inheritance
- ValueType
- PdfColumnWidth
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
- Method PdfColumnWidth.Auto
- Method PdfColumnWidth.Fixed
- Method PdfColumnWidth.Percent
- Method PdfColumnWidth.Relative
Accepted by parameters
- Method PdfRowBuilder.Column
Methods
public static PdfColumnWidth Auto(Double minimum = 0, Nullable<Double> maximum = null) #Returns:
PdfColumnWidthCreates a content-sized column, optionally constrained in points.
Parameters
- minimum System.Double = 0
- maximum System.Nullable{System.Double} = null
public static PdfColumnWidth Fixed(Double points) #Returns:
PdfColumnWidthCreates a column with an exact width in points.
Parameters
- points System.Double
public static PdfColumnWidth Percent(Double percent) #Returns:
PdfColumnWidthCreates a column that consumes a percentage of available row width.
Parameters
- percent System.Double
public static PdfColumnWidth Relative(Double weight = 1) #Returns:
PdfColumnWidthCreates a column that receives a weighted share of remaining width.
Parameters
- weight System.Double = 1
Inherited Methods
Properties
public PdfColumnWidthUnit Unit { get; } #Gets the sizing strategy.
public Double Value { get; } #Gets the strategy value: weight, points, or percentage. Automatic widths use zero.
public Double Minimum { get; } #Gets the minimum automatic width in points.
public Nullable<Double> Maximum { get; } #Gets the optional maximum automatic width in points.