Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTextLayoutOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfTextLayoutOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PdfTextLayoutOptionsFluent

Methods

public static PdfTextLayoutOptions BinWidth(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value) #

Sets PdfTextLayoutOptions.BinWidth: Histogram bin width (points) used for gutter detection. Default: 5.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { BinWidth = value };    pdfTextLayoutOptions.BinWidth(value);
public static PdfTextLayoutOptions ForceSingleColumn(PdfTextLayoutOptions pdfTextLayoutOptions, bool value = true) #

Sets PdfTextLayoutOptions.ForceSingleColumn: When true, forces single-column reading order and disables gutter detection. Default: false.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { ForceSingleColumn = value };    pdfTextLayoutOptions.ForceSingleColumn(value);
public static PdfTextLayoutOptions GapGlyphFactor(PdfTextLayoutOptions pdfTextLayoutOptions, double value) #

Sets PdfTextLayoutOptions.GapGlyphFactor: Threshold as a fraction of previous span's average glyph advance to insert a space. Default: 0.60.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value double required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { GapGlyphFactor = value };    pdfTextLayoutOptions.GapGlyphFactor(value);
public static PdfTextLayoutOptions GapSpaceThresholdEm(PdfTextLayoutOptions pdfTextLayoutOptions, double value) #

Sets PdfTextLayoutOptions.GapSpaceThresholdEm: Threshold in em units to insert a space between adjacent spans on the same line. Default: 0.35.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value double required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { GapSpaceThresholdEm = value };    pdfTextLayoutOptions.GapSpaceThresholdEm(value);
public static PdfTextLayoutOptions IgnoreFooterHeight(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value) #

Sets PdfTextLayoutOptions.IgnoreFooterHeight: Height from bottom of page (points) to ignore as footer when emitting text. Default: 0.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { IgnoreFooterHeight = value };    pdfTextLayoutOptions.IgnoreFooterHeight(value);
public static PdfTextLayoutOptions IgnoreHeaderHeight(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value) #

Sets PdfTextLayoutOptions.IgnoreHeaderHeight: Height from top of page (points) to ignore as header when emitting text. Default: 0.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { IgnoreHeaderHeight = value };    pdfTextLayoutOptions.IgnoreHeaderHeight(value);
public static PdfTextLayoutOptions JoinSoftHyphensAcrossLines(PdfTextLayoutOptions pdfTextLayoutOptions, bool value = true) #

Sets PdfTextLayoutOptions.JoinSoftHyphensAcrossLines: When true, removes an explicit soft hyphen before a line break. Visible hyphens are preserved because PDF layout and letter case cannot prove that they are discretionary. Default: false.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { JoinSoftHyphensAcrossLines = value };    pdfTextLayoutOptions.JoinSoftHyphensAcrossLines(value);
public static PdfTextLayoutOptions LineMergeMax(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value) #

Sets PdfTextLayoutOptions.LineMergeMax: Maximum absolute baseline-normal delta for ordinary line clustering. Default: 2.5 points. With both merge limits at least their defaults, adjacent smaller-font scripts may attach to a unique base line; a stricter value retains baseline-only grouping.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { LineMergeMax = value };    pdfTextLayoutOptions.LineMergeMax(value);
public static PdfTextLayoutOptions LineMergeToleranceEm(PdfTextLayoutOptions pdfTextLayoutOptions, double value) #

Sets PdfTextLayoutOptions.LineMergeToleranceEm: Maximum baseline-normal delta in font-size em units for ordinary line clustering. Default: 0.6. A stricter value disables conservative inline-script attachment.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value double required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { LineMergeToleranceEm = value };    pdfTextLayoutOptions.LineMergeToleranceEm(value);
public static PdfTextLayoutOptions MarginLeft(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value) #

Sets PdfTextLayoutOptions.MarginLeft: Left page margin in points used when inferring column bounds. Default: 36.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { MarginLeft = value };    pdfTextLayoutOptions.MarginLeft(value);
public static PdfTextLayoutOptions MarginRight(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value) #

Sets PdfTextLayoutOptions.MarginRight: Right page margin in points used when inferring column bounds. Default: 36.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { MarginRight = value };    pdfTextLayoutOptions.MarginRight(value);
public static PdfTextLayoutOptions MinGutterWidth(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value) #

Sets PdfTextLayoutOptions.MinGutterWidth: Minimum detected gutter width (points) to consider a two-column layout. Default: 24.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { MinGutterWidth = value };    pdfTextLayoutOptions.MinGutterWidth(value);
public static PdfTextLayoutOptions ReadingDirection(PdfTextLayoutOptions pdfTextLayoutOptions, PdfReadingDirection value) #

Sets PdfTextLayoutOptions.ReadingDirection: Horizontal reading direction used for words and column partitions. Default: Auto.

Parameters

pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required
The instance.
value OfficeIMO.Pdf.PdfReadingDirection required
The value.

Returns

PdfTextLayoutOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { ReadingDirection = value };    pdfTextLayoutOptions.ReadingDirection(value);