API Reference

Struct

PdfColumnWidth

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Base ValueType
Modifiers sealed

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.

Accepted by parameters

Methods

public static PdfColumnWidth Auto(Double minimum = 0, Nullable<Double> maximum = null) #
Returns: PdfColumnWidth

Creates a content-sized column, optionally constrained in points.

Parameters

minimum System.Double = 0 optionalposition: 0
maximum System.Nullable{System.Double} = null optionalposition: 1
public static PdfColumnWidth Fixed(Double points) #
Returns: PdfColumnWidth

Creates a column with an exact width in points.

Parameters

points System.Double requiredposition: 0
public static PdfColumnWidth Percent(Double percent) #
Returns: PdfColumnWidth

Creates a column that consumes a percentage of available row width.

Parameters

percent System.Double requiredposition: 0
public static PdfColumnWidth Relative(Double weight = 1) #
Returns: PdfColumnWidth

Creates a column that receives a weighted share of remaining width.

Parameters

weight System.Double = 1 optionalposition: 0

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.