Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

PdfColumnWidth

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision 33d062b583cb with working tree changes
Base ValueType
Modifiers sealed

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.

Accepted by parameters 2

Methods

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

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

Parameters

minimum System.Double = 0 optionalposition: 0
maximum 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 Double? Maximum { get; } #

Gets the optional maximum automatic width in points.