Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfLogicalMarkdownOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfLogicalMarkdownOptions, 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
  • PdfLogicalMarkdownOptionsFluent

Methods

public static PdfLogicalMarkdownOptions AlignNumericTableColumns(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, bool value = true) #

Sets PdfLogicalMarkdownOptions.AlignNumericTableColumns: Right-align table columns in Markdown when all non-empty body cells look numeric.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { AlignNumericTableColumns = value };    pdfLogicalMarkdownOptions.AlignNumericTableColumns(value);
public static PdfLogicalMarkdownOptions ImageDirectory(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, string? value) #

Sets PdfLogicalMarkdownOptions.ImageDirectory: Directory that receives image files when PdfLogicalMarkdownOptions.ImageExportMode is PdfLogicalMarkdownImageExportMode.File. Null uses the current working directory.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value string? required
The value.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { ImageDirectory = value };    pdfLogicalMarkdownOptions.ImageDirectory(value);
public static PdfLogicalMarkdownOptions ImageExportMode(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, PdfLogicalMarkdownImageExportMode value) #

Sets PdfLogicalMarkdownOptions.ImageExportMode: How images are written. The default embeds each image as a base64 data URI; PdfLogicalMarkdownImageExportMode.File writes image files to PdfLogicalMarkdownOptions.ImageDirectory and references them by file name.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value OfficeIMO.Pdf.PdfLogicalMarkdownImageExportMode required
The value.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { ImageExportMode = value };    pdfLogicalMarkdownOptions.ImageExportMode(value);
public static PdfLogicalMarkdownOptions IncludeFormWidgets(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, bool value = true) #

Sets PdfLogicalMarkdownOptions.IncludeFormWidgets: Emit a form widget section for AcroForm widgets placed on pages.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { IncludeFormWidgets = value };    pdfLogicalMarkdownOptions.IncludeFormWidgets(value);
public static PdfLogicalMarkdownOptions IncludeImagePlaceholders(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, bool value = true) #

Sets PdfLogicalMarkdownOptions.IncludeImagePlaceholders: Emit readable placeholder text for images that are not exported as Markdown images. False by default, so an image that cannot be carried over never adds text to the document body.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { IncludeImagePlaceholders = value };    pdfLogicalMarkdownOptions.IncludeImagePlaceholders(value);
public static PdfLogicalMarkdownOptions IncludeInlineEmphasis(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, bool value = true) #

Sets PdfLogicalMarkdownOptions.IncludeInlineEmphasis: Preserve bold and italic styling in reflowed text and list items when the PDF style runs match the logical text.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { IncludeInlineEmphasis = value };    pdfLogicalMarkdownOptions.IncludeInlineEmphasis(value);
public static PdfLogicalMarkdownOptions IncludeLinkAnnotations(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, bool value = true) #

Sets PdfLogicalMarkdownOptions.IncludeLinkAnnotations: Carry link annotations into the Markdown. PdfLogicalMarkdownOptions.LinkStyle chooses how they are written.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { IncludeLinkAnnotations = value };    pdfLogicalMarkdownOptions.IncludeLinkAnnotations(value);
public static PdfLogicalMarkdownOptions IncludeMarkupAnnotations(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, bool value = true) #

Sets PdfLogicalMarkdownOptions.IncludeMarkupAnnotations: Emit an annotation section at the end of each page for Highlight, Underline, StrikeOut and Squiggly annotations, with the annotation type, author, the page text it covers and its comment.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { IncludeMarkupAnnotations = value };    pdfLogicalMarkdownOptions.IncludeMarkupAnnotations(value);
public static PdfLogicalMarkdownOptions IncludePageSeparators(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, bool value = true) #

Sets PdfLogicalMarkdownOptions.IncludePageSeparators: Emit horizontal-rule separators between logical pages.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { IncludePageSeparators = value };    pdfLogicalMarkdownOptions.IncludePageSeparators(value);
public static PdfLogicalMarkdownOptions LinkStyle(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, PdfLogicalMarkdownLinkStyle value) #

Sets PdfLogicalMarkdownOptions.LinkStyle: How link annotations are written when PdfLogicalMarkdownOptions.IncludeLinkAnnotations is true. The default, PdfLogicalMarkdownLinkStyle.Inline, turns web and mail links into Markdown links on the text they cover and leaves out links that only move within the document.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value OfficeIMO.Pdf.PdfLogicalMarkdownLinkStyle required
The value.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { LinkStyle = value };    pdfLogicalMarkdownOptions.LinkStyle(value);
public static PdfLogicalMarkdownOptions MaxEmbeddedImageBytes(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, long value) #

Sets PdfLogicalMarkdownOptions.MaxEmbeddedImageBytes: Maximum image size embedded as one base64 data URI. Larger images are left out. The default is 32 MiB.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value long required
The value.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { MaxEmbeddedImageBytes = value };    pdfLogicalMarkdownOptions.MaxEmbeddedImageBytes(value);
public static PdfLogicalMarkdownOptions PageSeparator(PdfLogicalMarkdownOptions pdfLogicalMarkdownOptions, string value) #

Sets PdfLogicalMarkdownOptions.PageSeparator: Markdown text used between pages when PdfLogicalMarkdownOptions.IncludePageSeparators is true.

Parameters

pdfLogicalMarkdownOptions OfficeIMO.Pdf.PdfLogicalMarkdownOptions required
The instance.
value string required
The value.

Returns

PdfLogicalMarkdownOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Pdf.PdfLogicalMarkdownOptions { PageSeparator = value };    pdfLogicalMarkdownOptions.PageSeparator(value);