Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelPdfExportOptionsFluent

OfficeIMO.Excel.Pdf

Namespace
OfficeIMO.Excel.Pdf
Assembly
OfficeIMO.Excel.Pdf
Modifiers
static

The fluent methods of ExcelPdfExportOptions, 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
  • ExcelPdfExportOptionsFluent

Methods

public static ExcelPdfExportOptions ChartLayout(ExcelPdfExportOptions excelPdfExportOptions, OfficeChartLayout? value) #

Sets ExcelPdfExportOptions.ChartLayout: Optional shared chart layout applied to exported worksheet chart snapshots.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.Drawing.OfficeChartLayout? required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { ChartLayout = value };    excelPdfExportOptions.ChartLayout(value);
ChartRendering 2 overloads
public static ExcelPdfExportOptions ChartRendering(ExcelPdfExportOptions excelPdfExportOptions, OfficeChartRenderOptions value) #

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

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.OfficeChartRenderOptions required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

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

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

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.OfficeChartRenderOptions> required
Configures the value.

Returns

ExcelPdfExportOptions The same instance.
public static ExcelPdfExportOptions ChartStyle(ExcelPdfExportOptions excelPdfExportOptions, OfficeChartStyle? value) #

Sets ExcelPdfExportOptions.ChartStyle: Optional shared chart style applied to exported worksheet chart snapshots and generated chart legend tables.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.Drawing.OfficeChartStyle? required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { ChartStyle = value };    excelPdfExportOptions.ChartStyle(value);
public static ExcelPdfExportOptions Configure(ExcelPdfExportOptions excelPdfExportOptions, Action<ExcelPdfExportOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Excel.Pdf.ExcelPdfExportOptions> required
Assignments applied in order.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                      // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { HeaderFooterDateTimeProvider = value };    excelPdfExportOptions.Configure(configured => configured.HeaderFooterDateTimeProvider = value);
public static ExcelPdfExportOptions DiagnosticsDetail(ExcelPdfExportOptions excelPdfExportOptions, ExcelPdfDiagnosticsDetail value) #

Sets ExcelPdfExportOptions.DiagnosticsDetail: How the conversion report describes clipped worksheet cells. ExcelPdfDiagnosticsDetail.Summary, the default, reports table-cell-content-clipped, table-cell-paint-clipped and table-cell-canvas-clip-paint-clipped once per code per contiguous range of a sheet, with its cell count and sample cells. Other codes, such as table-cell-object-page-bounds-clipped, are reported per occurrence. ExcelPdfDiagnosticsDetail.PerCell reports every occurrence separately, as earlier versions did; a merged cell can produce more than one.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.Excel.Pdf.ExcelPdfDiagnosticsDetail required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { DiagnosticsDetail = value };    excelPdfExportOptions.DiagnosticsDetail(value);
public static ExcelPdfExportOptions EmptyCellText(ExcelPdfExportOptions excelPdfExportOptions, string value) #

Sets ExcelPdfExportOptions.EmptyCellText: Text used for empty worksheet cells in the exported PDF table. Defaults to an empty string.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value string required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { EmptyCellText = value };    excelPdfExportOptions.EmptyCellText(value);
public static ExcelPdfExportOptions FailOnLoss(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

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

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { FailOnLoss = value };    excelPdfExportOptions.FailOnLoss(value);
public static ExcelPdfExportOptions FontFamily(ExcelPdfExportOptions excelPdfExportOptions, string? value) #

Sets ExcelPdfExportOptions.FontFamily: Optional workbook default font family used by the first-party PDF engine.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value string? required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { FontFamily = value };    excelPdfExportOptions.FontFamily(value);
public static ExcelPdfExportOptions HeaderRowCount(ExcelPdfExportOptions excelPdfExportOptions, int value) #

Sets ExcelPdfExportOptions.HeaderRowCount: Number of leading worksheet rows styled as table headers. Defaults to one row.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value int required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { HeaderRowCount = value };    excelPdfExportOptions.HeaderRowCount(value);
public static ExcelPdfExportOptions IncludeSheetHeadings(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.IncludeSheetHeadings: Determines whether exported sheets start with a generated worksheet-name heading. Defaults to false.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { IncludeSheetHeadings = value };    excelPdfExportOptions.IncludeSheetHeadings(value);
public static ExcelPdfExportOptions Margins(ExcelPdfExportOptions excelPdfExportOptions, PdfPageMargins? value) #

Sets ExcelPdfExportOptions.Margins: Optional first-party page margins in PDF points.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfPageMargins? required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { Margins = value };    excelPdfExportOptions.Margins(value);
public static ExcelPdfExportOptions MaxMaterializedWorksheetCells(ExcelPdfExportOptions excelPdfExportOptions, long value) #

Sets ExcelPdfExportOptions.MaxMaterializedWorksheetCells: Maximum dense worksheet positions retained across all export ranges, including empty cells. Defaults to 1,000,000. Raise this only for trusted workbooks with sufficient memory.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value long required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                       // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { MaxMaterializedWorksheetCells = value };    excelPdfExportOptions.MaxMaterializedWorksheetCells(value);
public static ExcelPdfExportOptions MaxRowsPerSheet(ExcelPdfExportOptions excelPdfExportOptions, int? value) #

Sets ExcelPdfExportOptions.MaxRowsPerSheet: Optional maximum number of used-range rows exported from each sheet.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value int? required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { MaxRowsPerSheet = value };    excelPdfExportOptions.MaxRowsPerSheet(value);
public static ExcelPdfExportOptions PageSize(ExcelPdfExportOptions excelPdfExportOptions, PdfPageSize? value) #

Sets ExcelPdfExportOptions.PageSize: Optional first-party page size in PDF points.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfPageSize? required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { PageSize = value };    excelPdfExportOptions.PageSize(value);
PdfOptions 2 overloads
public static ExcelPdfExportOptions PdfOptions(ExcelPdfExportOptions excelPdfExportOptions, PdfCreateOptions? value) #

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

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfCreateOptions? required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

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

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

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfCreateOptions> required
Configures the value.

Returns

ExcelPdfExportOptions The same instance.
public static ExcelPdfExportOptions Profile(ExcelPdfExportOptions excelPdfExportOptions, PdfExportProfile profile) #

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

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
profile OfficeIMO.Pdf.PdfExportProfile required
The value.

Returns

ExcelPdfExportOptions The same instance.
public static ExcelPdfExportOptions RenderingProfile(ExcelPdfExportOptions excelPdfExportOptions, OfficeRenderingProfile profile, OfficeRenderingProfileApplyMode mode = Replace) #

Applies shared deterministic typography resources to the first-party PDF engine. Worksheet selection and page layout remain owned by this converter.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
profile OfficeIMO.Drawing.OfficeRenderingProfile required
The value.
mode OfficeIMO.Drawing.OfficeRenderingProfileApplyMode = Replace optional
The value.

Returns

ExcelPdfExportOptions The same instance.
ResourcePolicy 2 overloads
public static ExcelPdfExportOptions ResourcePolicy(ExcelPdfExportOptions excelPdfExportOptions, PdfResourcePolicy value) #

Sets ExcelPdfExportOptions.ResourcePolicy: Host-resource policy. Defaults to balanced conversion: system fonts and bounded in-source resources are allowed, while local and remote reads are denied.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfResourcePolicy required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

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

Configures ExcelPdfExportOptions.ResourcePolicy in place (creating it when not set): Host-resource policy. Defaults to balanced conversion: system fonts and bounded in-source resources are allowed, while local and remote reads are denied.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfResourcePolicy> required
Configures the value.

Returns

ExcelPdfExportOptions The same instance.
public static ExcelPdfExportOptions RespectWorkbookSheetVisibility(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.RespectWorkbookSheetVisibility: When true, hidden workbook worksheets are omitted from the default all-sheets export. Explicit Sheets still export requested sheets. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { RespectWorkbookSheetVisibility = value };    excelPdfExportOptions.RespectWorkbookSheetVisibility(value);
public static ExcelPdfExportOptions RespectWorksheetHiddenRowsAndColumns(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.RespectWorksheetHiddenRowsAndColumns: When true, hidden worksheet rows and columns are omitted from the exported PDF table. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                              // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { RespectWorksheetHiddenRowsAndColumns = value };    excelPdfExportOptions.RespectWorksheetHiddenRowsAndColumns(value);
public static ExcelPdfExportOptions Sheets(ExcelPdfExportOptions excelPdfExportOptions, IReadOnlyList<OfficeSheetSelector>? value) #

Sets ExcelPdfExportOptions.Sheets: Optional worksheet names, wildcard patterns, one-based positions or live worksheet identities. Null exports all worksheets in workbook order; an explicit empty or unmatched selection is rejected.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value System.Collections.Generic.IReadOnlyList<OfficeIMO.Excel.OfficeSheetSelector>? required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { Sheets = value };    excelPdfExportOptions.Sheets(value);
public static ExcelPdfExportOptions TextFallbacks(ExcelPdfExportOptions excelPdfExportOptions, PdfTextFallbackFeatures value) #

Sets ExcelPdfExportOptions.TextFallbacks: Built-in generated-text fallback groups applied by the Excel PDF converter.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfTextFallbackFeatures required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { TextFallbacks = value };    excelPdfExportOptions.TextFallbacks(value);
public static ExcelPdfExportOptions UseBoundedWorksheetRead(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseBoundedWorksheetRead: When true together with ExcelPdfExportOptions.MaxRowsPerSheet, worksheet values and direct cell styles are read only through the bounded worksheet range. Metadata stored after the worksheet cell stream, such as print settings, merges, hyperlinks, and drawing anchors, is not materialized. Defaults to false.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseBoundedWorksheetRead = value };    excelPdfExportOptions.UseBoundedWorksheetRead(value);
public static ExcelPdfExportOptions UseWorksheetCellStyles(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetCellStyles: When true, simple worksheet cell number formats, font emphasis, colors, alignment, and borders are exported to PDF table cells. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetCellStyles = value };    excelPdfExportOptions.UseWorksheetCellStyles(value);
public static ExcelPdfExportOptions UseWorksheetCharts(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetCharts: When true, supported worksheet charts are exported as first-party PDF drawing snapshots. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetCharts = value };    excelPdfExportOptions.UseWorksheetCharts(value);
public static ExcelPdfExportOptions UseWorksheetColumnWidths(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetColumnWidths: When true, explicit worksheet column widths influence PDF table column proportions. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetColumnWidths = value };    excelPdfExportOptions.UseWorksheetColumnWidths(value);
public static ExcelPdfExportOptions UseWorksheetHeaderFooterImages(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetHeaderFooterImages: When true, supported worksheet header/footer images are exported to PDF header/footer image zones. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetHeaderFooterImages = value };    excelPdfExportOptions.UseWorksheetHeaderFooterImages(value);
public static ExcelPdfExportOptions UseWorksheetHeadersAndFooters(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetHeadersAndFooters: When true, simple worksheet header/footer text zones are exported to PDF page header/footer zones. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                       // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetHeadersAndFooters = value };    excelPdfExportOptions.UseWorksheetHeadersAndFooters(value);
public static ExcelPdfExportOptions UseWorksheetImages(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetImages: When true, supported worksheet pictures, shapes, and text boxes are exported at worksheet coordinates in canvas mode. Flow mode exports pictures and reports omitted shapes. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetImages = value };    excelPdfExportOptions.UseWorksheetImages(value);
public static ExcelPdfExportOptions UseWorksheetMergedCells(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetMergedCells: When true, worksheet merged cells are exported as PDF table column and row spans. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetMergedCells = value };    excelPdfExportOptions.UseWorksheetMergedCells(value);
public static ExcelPdfExportOptions UseWorksheetPageBreaks(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetPageBreaks: When true, manual worksheet row page breaks split the exported PDF table across pages. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetPageBreaks = value };    excelPdfExportOptions.UseWorksheetPageBreaks(value);
public static ExcelPdfExportOptions UseWorksheetPageSetup(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetPageSetup: When true, worksheet orientation and margins are applied when explicit PDF options do not replace them. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetPageSetup = value };    excelPdfExportOptions.UseWorksheetPageSetup(value);
public static ExcelPdfExportOptions UseWorksheetPrintAreas(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetPrintAreas: When true, worksheet print areas are used instead of the used range when configured. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetPrintAreas = value };    excelPdfExportOptions.UseWorksheetPrintAreas(value);
public static ExcelPdfExportOptions UseWorksheetPrintTitleColumns(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetPrintTitleColumns: Repeats the worksheet's print-title columns on horizontal pages, including title columns outside the selected print area. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                       // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetPrintTitleColumns = value };    excelPdfExportOptions.UseWorksheetPrintTitleColumns(value);
public static ExcelPdfExportOptions UseWorksheetPrintTitleRows(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetPrintTitleRows: When true, worksheet repeated print-title rows are exported as PDF table header rows. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                    // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetPrintTitleRows = value };    excelPdfExportOptions.UseWorksheetPrintTitleRows(value);
public static ExcelPdfExportOptions UseWorksheetRowHeights(ExcelPdfExportOptions excelPdfExportOptions, bool value = true) #

Sets ExcelPdfExportOptions.UseWorksheetRowHeights: When true, explicit worksheet row heights influence PDF table row heights. Defaults to true.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { UseWorksheetRowHeights = value };    excelPdfExportOptions.UseWorksheetRowHeights(value);
public static ExcelPdfExportOptions WorksheetLayout(ExcelPdfExportOptions excelPdfExportOptions, ExcelPdfWorksheetLayoutMode value) #

Sets ExcelPdfExportOptions.WorksheetLayout: Controls whether sheets preserve worksheet coordinates or are reflowed as report tables. Defaults to ExcelPdfWorksheetLayoutMode.WorksheetCanvas.

Parameters

excelPdfExportOptions OfficeIMO.Excel.Pdf.ExcelPdfExportOptions required
The instance.
value OfficeIMO.Excel.Pdf.ExcelPdfWorksheetLayoutMode required
The value.

Returns

ExcelPdfExportOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Excel.Pdf.ExcelPdfExportOptions { WorksheetLayout = value };    excelPdfExportOptions.WorksheetLayout(value);