Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordPdfExportOptionsFluent

OfficeIMO.Word.Pdf

Namespace
OfficeIMO.Word.Pdf
Assembly
OfficeIMO.Word.Pdf
Modifiers
static

The fluent methods of WordPdfExportOptions, 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
  • WordPdfExportOptionsFluent

Methods

public static TSelf Author<TSelf>(TSelf wordPdfExportOptions, string? value) #

Sets WordPdfExportOptions.Author: Optional PDF author that overrides the Word document author.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Author = value };    wordPdfExportOptions.Author(value);
ChartRendering``1 2 overloads
public static TSelf ChartRendering<TSelf>(TSelf wordPdfExportOptions, OfficeChartRenderOptions value) #

Sets WordPdfExportOptions.ChartRendering: How native charts are drawn, including what happens to formatting the chart renderer cannot reproduce exactly.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.OfficeChartRenderOptions required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { ChartRendering = value };    wordPdfExportOptions.ChartRendering(value);
public static TSelf ChartRendering<TSelf>(TSelf wordPdfExportOptions, Action<OfficeChartRenderOptions> configure) #

Configures WordPdfExportOptions.ChartRendering in place (creating it when not set): How native charts are drawn, including what happens to formatting the chart renderer cannot reproduce exactly.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
configure System.Action<OfficeIMO.OfficeChartRenderOptions> required
Configures the value.

Returns

TSelf The same instance.
DateTimeFieldUpdateOptions``1 2 overloads
public static TSelf DateTimeFieldUpdateOptions<TSelf>(TSelf wordPdfExportOptions, WordFieldUpdateOptions? value) #

Sets WordPdfExportOptions.DateTimeFieldUpdateOptions: Optional DATE and TIME field refresh before PDF conversion. When null, cached Word field results are used. Other field results remain unchanged. The refresh updates the source WordDocument in memory without saving the Word file. Set WordFieldUpdateOptions.CurrentDateTime for a fixed value.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.Word.WordFieldUpdateOptions? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { DateTimeFieldUpdateOptions = value };    wordPdfExportOptions.DateTimeFieldUpdateOptions(value);
public static TSelf DateTimeFieldUpdateOptions<TSelf>(TSelf wordPdfExportOptions, Action<WordFieldUpdateOptions> configure) #

Configures WordPdfExportOptions.DateTimeFieldUpdateOptions in place (creating it when not set): Optional DATE and TIME field refresh before PDF conversion. When null, cached Word field results are used. Other field results remain unchanged. The refresh updates the source WordDocument in memory without saving the Word file. Set WordFieldUpdateOptions.CurrentDateTime for a fixed value.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
configure System.Action<OfficeIMO.Word.WordFieldUpdateOptions> required
Configures the value.

Returns

TSelf The same instance.
public static TSelf DefaultTableBorders<TSelf>(TSelf wordPdfExportOptions, bool value = true) #

Sets WordPdfExportOptions.DefaultTableBorders: When true, draws subtle borders for table cells that do not define borders in the Word document. Defaults to false to preserve strict fidelity.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { DefaultTableBorders = value };    wordPdfExportOptions.DefaultTableBorders(value);
public static TSelf FailOnLoss<TSelf>(TSelf wordPdfExportOptions, bool value = true) #

Sets WordPdfExportOptions.FailOnLoss: Blocks output when conversion reports fidelity loss.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { FailOnLoss = value };    wordPdfExportOptions.FailOnLoss(value);
public static TSelf FallbackOrientation<TSelf>(TSelf wordPdfExportOptions, OfficePageOrientation? value) #

Sets WordPdfExportOptions.FallbackOrientation: Fallback orientation when the source section has no landscape orientation and no export override applies.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.OfficePageOrientation? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { FallbackOrientation = value };    wordPdfExportOptions.FallbackOrientation(value);
public static TSelf FallbackPageSize<TSelf>(TSelf wordPdfExportOptions, PdfPageSize? value) #

Sets WordPdfExportOptions.FallbackPageSize: Page size used only when a source section has no usable page size.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.Pdf.PdfPageSize? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { FallbackPageSize = value };    wordPdfExportOptions.FallbackPageSize(value);
public static TSelf FontFamily<TSelf>(TSelf wordPdfExportOptions, string? value) #

Sets WordPdfExportOptions.FontFamily: Optional Word-style font family used as the first-party PDF default font. When the resource policy allows system fonts, an installed family is embedded; otherwise it maps to the nearest PDF standard font.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { FontFamily = value };    wordPdfExportOptions.FontFamily(value);
public static TSelf IncludePageNumbers<TSelf>(TSelf wordPdfExportOptions, bool value = true) #

Sets WordPdfExportOptions.IncludePageNumbers: Determines whether generated page numbers are rendered when the Word source has no page-number field. Defaults to false.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { IncludePageNumbers = value };    wordPdfExportOptions.IncludePageNumbers(value);
public static TSelf Keywords<TSelf>(TSelf wordPdfExportOptions, string? value) #

Sets WordPdfExportOptions.Keywords: Optional PDF keywords that override the Word document keywords.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Keywords = value };    wordPdfExportOptions.Keywords(value);
public static TSelf Margins<TSelf>(TSelf wordPdfExportOptions, PdfPageMargins? value) #

Sets WordPdfExportOptions.Margins: Optional page margins in PDF points.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.Pdf.PdfPageMargins? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Margins = value };    wordPdfExportOptions.Margins(value);
public static TSelf MaxImagesPerParagraph<TSelf>(TSelf wordPdfExportOptions, int value) #

Sets WordPdfExportOptions.MaxImagesPerParagraph: Maximum images collected from one Word paragraph during PDF export.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value int required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { MaxImagesPerParagraph = value };    wordPdfExportOptions.MaxImagesPerParagraph(value);
public static TSelf Orientation<TSelf>(TSelf wordPdfExportOptions, OfficePageOrientation? value) #

Sets WordPdfExportOptions.Orientation: Optional page orientation for the generated PDF.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.OfficePageOrientation? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Orientation = value };    wordPdfExportOptions.Orientation(value);
public static TSelf PageNumberFormat<TSelf>(TSelf wordPdfExportOptions, string? value) #

Sets WordPdfExportOptions.PageNumberFormat: Optional format for page numbers. Use "{current}" for the current page and "{total}" for total pages.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { PageNumberFormat = value };    wordPdfExportOptions.PageNumberFormat(value);
public static TSelf PageSize<TSelf>(TSelf wordPdfExportOptions, PdfPageSize? value) #

Sets WordPdfExportOptions.PageSize: Optional page size in PDF points. The supplied geometry is preserved unless WordPdfExportOptions.Orientation is also set.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.Pdf.PdfPageSize? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { PageSize = value };    wordPdfExportOptions.PageSize(value);
PdfOptions``1 2 overloads
public static TSelf PdfOptions<TSelf>(TSelf wordPdfExportOptions, PdfCreateOptions? value) #

Sets WordPdfExportOptions.PdfOptions: PDF creation options passed to the first-party PDF engine. The options are cloned before export.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.Pdf.PdfCreateOptions? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { PdfOptions = value };    wordPdfExportOptions.PdfOptions(value);
public static TSelf PdfOptions<TSelf>(TSelf wordPdfExportOptions, Action<PdfCreateOptions> configure) #

Configures WordPdfExportOptions.PdfOptions in place (creating it when not set): PDF creation options passed to the first-party PDF engine. The options are cloned before export.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfCreateOptions> required
Configures the value.

Returns

TSelf The same instance.
public static TSelf Profile<TSelf>(TSelf wordPdfExportOptions, PdfExportProfile profile) #

Applies a high-level export profile by setting the Word PDF options that correspond to that profile.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
profile OfficeIMO.Pdf.PdfExportProfile required
The value.

Returns

TSelf The same instance.
public static TSelf RenderingProfile<TSelf>(TSelf wordPdfExportOptions, OfficeRenderingProfile profile, OfficeRenderingProfileApplyMode mode = Replace) #

Applies shared deterministic typography resources to the first-party PDF engine. Word pagination and layout settings remain owned by this converter.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
profile OfficeIMO.Drawing.OfficeRenderingProfile required
The value.
mode OfficeIMO.Drawing.OfficeRenderingProfileApplyMode = Replace optional
The value.

Returns

TSelf The same instance.
ResourcePolicy``1 2 overloads
public static TSelf ResourcePolicy<TSelf>(TSelf wordPdfExportOptions, PdfResourcePolicy value) #

Sets WordPdfExportOptions.ResourcePolicy: Host-resource policy. Balanced conversion embeds installed document fonts and uses installed substitutes for missing Office families. Local files and remote resources are disabled. Use PdfResourcePolicy.CreatePortableDeterministic for host-independent conversion.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.Pdf.PdfResourcePolicy required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { ResourcePolicy = value };    wordPdfExportOptions.ResourcePolicy(value);
public static TSelf ResourcePolicy<TSelf>(TSelf wordPdfExportOptions, Action<PdfResourcePolicy> configure) #

Configures WordPdfExportOptions.ResourcePolicy in place (creating it when not set): Host-resource policy. Balanced conversion embeds installed document fonts and uses installed substitutes for missing Office families. Local files and remote resources are disabled. Use PdfResourcePolicy.CreatePortableDeterministic for host-independent conversion.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfResourcePolicy> required
Configures the value.

Returns

TSelf The same instance.
public static TSelf Subject<TSelf>(TSelf wordPdfExportOptions, string? value) #

Sets WordPdfExportOptions.Subject: Optional PDF subject that overrides the Word document subject.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Subject = value };    wordPdfExportOptions.Subject(value);
public static TSelf TextFallbacks<TSelf>(TSelf wordPdfExportOptions, PdfTextFallbackFeatures value) #

Sets WordPdfExportOptions.TextFallbacks: Built-in generated-text fallback groups applied by the Word PDF converter when system font embedding is allowed. Defaults to the recommended preset, but no host font files are embedded unless WordPdfExportOptions.ResourcePolicy allows them.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.Pdf.PdfTextFallbackFeatures required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { TextFallbacks = value };    wordPdfExportOptions.TextFallbacks(value);
public static TSelf Title<TSelf>(TSelf wordPdfExportOptions, string? value) #

Sets WordPdfExportOptions.Title: Optional PDF title that overrides the Word document title.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Title = value };    wordPdfExportOptions.Title(value);
public static TSelf TrackedChanges<TSelf>(TSelf wordPdfExportOptions, WordPdfTrackedChangeView value) #

Sets WordPdfExportOptions.TrackedChanges: Selects how tracked insertions and deletions are shown. Defaults to WordPdfTrackedChangeView.Markup, which underlines insertions and strikes through deletions in a revision colour. The final view reports when tracked revisions are projected into accepted text.

Type Parameters

TSelf

Parameters

wordPdfExportOptions TSelf required
The instance.
value OfficeIMO.Word.Pdf.WordPdfTrackedChangeView required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { TrackedChanges = value };    wordPdfExportOptions.TrackedChanges(value);