Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlPdfExportOptionsFluent

OfficeIMO.Html.Pdf

Namespace
OfficeIMO.Html.Pdf
Assembly
OfficeIMO.Html.Pdf
Modifiers
static

The fluent methods of HtmlPdfExportOptions, 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
  • HtmlPdfExportOptionsFluent

Methods

public static HtmlPdfExportOptions AdditionalStylesheet(HtmlPdfExportOptions htmlPdfExportOptions, string item) #

Adds an item to HtmlRenderOptions.AdditionalStylesheets.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
item string required
The item.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions AdditionalStylesheets(HtmlPdfExportOptions htmlPdfExportOptions, IEnumerable<string> items) #

Adds items to HtmlRenderOptions.AdditionalStylesheets.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions AllowSystemFontFallback(HtmlPdfExportOptions htmlPdfExportOptions, bool value = true) #

Sets HtmlRenderOptions.AllowSystemFontFallback.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { AllowSystemFontFallback = value };    htmlPdfExportOptions.AllowSystemFontFallback(value);
public static HtmlPdfExportOptions AutoFitWidePrintContent(HtmlPdfExportOptions htmlPdfExportOptions, bool value = true) #

Sets HtmlPdfExportOptions.AutoFitWidePrintContent: Fits visible layout overflow, including fixed-width descendants and tables, into a uniform CSS print page. Clipped descendants and paint-only shadows do not widen the layout. Fitting retains the physical CSS media context and uses bounded reflow. Named and page-specific rules require an explicit fitting width. Set to false to retain unscaled print layout. An explicit HtmlPdfExportOptions.PrintLayoutWidthCssPixels takes precedence.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { AutoFitWidePrintContent = value };    htmlPdfExportOptions.AutoFitWidePrintContent(value);
public static HtmlPdfExportOptions BackgroundColor(HtmlPdfExportOptions htmlPdfExportOptions, OfficeColor value) #

Sets OfficeImageExportOptions.BackgroundColor.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.OfficeColor required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { BackgroundColor = value };    htmlPdfExportOptions.BackgroundColor(value);
public static HtmlPdfExportOptions BaseUri(HtmlPdfExportOptions htmlPdfExportOptions, Uri? value) #

Sets HtmlRenderOptions.BaseUri.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value System.Uri? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { BaseUri = value };    htmlPdfExportOptions.BaseUri(value);
ChartRendering 2 overloads
public static HtmlPdfExportOptions ChartRendering(HtmlPdfExportOptions htmlPdfExportOptions, OfficeChartRenderOptions value) #

Sets OfficeImageExportOptions.ChartRendering.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.OfficeChartRenderOptions required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

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

Configures OfficeImageExportOptions.ChartRendering in place (creating it when not set).

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.OfficeChartRenderOptions> required
Configures the value.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions Configure(HtmlPdfExportOptions htmlPdfExportOptions, Action<HtmlPdfExportOptions> configure) #

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

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Html.Pdf.HtmlPdfExportOptions> required
Assignments applied in order.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { TextHyphenationCallback = value };    htmlPdfExportOptions.Configure(configured => configured.TextHyphenationCallback = value);
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { ResourceResolver = value };    htmlPdfExportOptions.Configure(configured => configured.ResourceResolver = value);
public static HtmlPdfExportOptions ConicGradientQualitySegments(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.ConicGradientQualitySegments.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                    // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { ConicGradientQualitySegments = value };    htmlPdfExportOptions.ConicGradientQualitySegments(value);
public static HtmlPdfExportOptions DefaultFontFamily(HtmlPdfExportOptions htmlPdfExportOptions, string value) #

Sets HtmlRenderOptions.DefaultFontFamily.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value string required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { DefaultFontFamily = value };    htmlPdfExportOptions.DefaultFontFamily(value);
public static HtmlPdfExportOptions DefaultFontSize(HtmlPdfExportOptions htmlPdfExportOptions, double value) #

Sets HtmlRenderOptions.DefaultFontSize.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value double required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { DefaultFontSize = value };    htmlPdfExportOptions.DefaultFontSize(value);
public static HtmlPdfExportOptions DefaultLineHeight(HtmlPdfExportOptions htmlPdfExportOptions, double value) #

Sets HtmlRenderOptions.DefaultLineHeight.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value double required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { DefaultLineHeight = value };    htmlPdfExportOptions.DefaultLineHeight(value);
public static HtmlPdfExportOptions FailOnLoss(HtmlPdfExportOptions htmlPdfExportOptions, bool value = true) #

Sets OfficeImageExportOptions.FailOnLoss.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { FailOnLoss = value };    htmlPdfExportOptions.FailOnLoss(value);
public static HtmlPdfExportOptions FidelityPolicy(HtmlPdfExportOptions htmlPdfExportOptions, HtmlRenderFidelityPolicy value) #

Sets HtmlRenderOptions.FidelityPolicy.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Html.HtmlRenderFidelityPolicy required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { FidelityPolicy = value };    htmlPdfExportOptions.FidelityPolicy(value);
public static HtmlPdfExportOptions FileConflictPolicy(HtmlPdfExportOptions htmlPdfExportOptions, OfficeImageExportFileConflictPolicy value) #

Sets OfficeImageExportOptions.FileConflictPolicy.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Drawing.OfficeImageExportFileConflictPolicy required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { FileConflictPolicy = value };    htmlPdfExportOptions.FileConflictPolicy(value);
public static HtmlPdfExportOptions FontFamily(HtmlPdfExportOptions htmlPdfExportOptions, PdfEmbeddedFontFamily? value) #

Sets HtmlPdfExportOptions.FontFamily: Optional caller-supplied embedded font family used by generated PDF text.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfEmbeddedFontFamily? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { FontFamily = value };    htmlPdfExportOptions.FontFamily(value);
Fonts 2 overloads
public static HtmlPdfExportOptions Fonts(HtmlPdfExportOptions htmlPdfExportOptions, OfficeFontFaceCollection value) #

Sets OfficeImageExportOptions.Fonts.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Drawing.OfficeFontFaceCollection required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { Fonts = value };    htmlPdfExportOptions.Fonts(value);
public static HtmlPdfExportOptions Fonts(HtmlPdfExportOptions htmlPdfExportOptions, Action<OfficeFontFaceCollection> configure) #

Configures OfficeImageExportOptions.Fonts in place (creating it when not set).

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Drawing.OfficeFontFaceCollection> required
Configures the value.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions Format(HtmlPdfExportOptions htmlPdfExportOptions, OfficeImageExportFormat value) #

Sets OfficeImageExportOptions.Format.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Drawing.OfficeImageExportFormat required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { Format = value };    htmlPdfExportOptions.Format(value);
public static HtmlPdfExportOptions HonorCssPageRules(HtmlPdfExportOptions htmlPdfExportOptions, bool value = true) #

Sets HtmlRenderOptions.HonorCssPageRules.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { HonorCssPageRules = value };    htmlPdfExportOptions.HonorCssPageRules(value);
public static HtmlPdfExportOptions ImageCodec(HtmlPdfExportOptions htmlPdfExportOptions, IOfficeRasterImageCodec? value) #

Sets OfficeImageExportOptions.ImageCodec.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Drawing.IOfficeRasterImageCodec? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { ImageCodec = value };    htmlPdfExportOptions.ImageCodec(value);
public static HtmlPdfExportOptions InteractiveFormControls(HtmlPdfExportOptions htmlPdfExportOptions, bool value = true) #

Sets HtmlPdfExportOptions.InteractiveFormControls: Converts supported standard HTML inputs, text areas, and selects into interactive AcroForm fields. Disable this to retain the shared renderer's static control paint in the PDF.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { InteractiveFormControls = value };    htmlPdfExportOptions.InteractiveFormControls(value);
public static HtmlPdfExportOptions Margins(HtmlPdfExportOptions htmlPdfExportOptions, HtmlRenderMargins value) #

Sets HtmlRenderOptions.Margins.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Html.HtmlRenderMargins required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { Margins = value };    htmlPdfExportOptions.Margins(value);
public static HtmlPdfExportOptions MathMlSourceModificationDate(HtmlPdfExportOptions htmlPdfExportOptions, DateTimeOffset? value) #

Sets HtmlPdfExportOptions.MathMlSourceModificationDate: Optional caller-supplied modification date for generated Formula MathML associated files.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value System.DateTimeOffset? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                    // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MathMlSourceModificationDate = value };    htmlPdfExportOptions.MathMlSourceModificationDate(value);
public static HtmlPdfExportOptions MaxBackgroundImageLayers(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxBackgroundImageLayers.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxBackgroundImageLayers = value };    htmlPdfExportOptions.MaxBackgroundImageLayers(value);
public static HtmlPdfExportOptions MaxBackgroundImageTiles(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxBackgroundImageTiles.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxBackgroundImageTiles = value };    htmlPdfExportOptions.MaxBackgroundImageTiles(value);
public static HtmlPdfExportOptions MaxBoxShadowLayers(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxBoxShadowLayers.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxBoxShadowLayers = value };    htmlPdfExportOptions.MaxBoxShadowLayers(value);
public static HtmlPdfExportOptions MaxCollapsedTableBorderSegments(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxCollapsedTableBorderSegments.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                       // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxCollapsedTableBorderSegments = value };    htmlPdfExportOptions.MaxCollapsedTableBorderSegments(value);
public static HtmlPdfExportOptions MaxColumnCount(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxColumnCount.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxColumnCount = value };    htmlPdfExportOptions.MaxColumnCount(value);
public static HtmlPdfExportOptions MaxConcurrentResourceLoads(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxConcurrentResourceLoads.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxConcurrentResourceLoads = value };    htmlPdfExportOptions.MaxConcurrentResourceLoads(value);
public static HtmlPdfExportOptions MaxFrameDepth(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxFrameDepth.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxFrameDepth = value };    htmlPdfExportOptions.MaxFrameDepth(value);
public static HtmlPdfExportOptions MaxGradientStops(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxGradientStops.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxGradientStops = value };    htmlPdfExportOptions.MaxGradientStops(value);
public static HtmlPdfExportOptions MaxGridTracks(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxGridTracks.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxGridTracks = value };    htmlPdfExportOptions.MaxGridTracks(value);
public static HtmlPdfExportOptions MaxHtmlNodes(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxHtmlNodes.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxHtmlNodes = value };    htmlPdfExportOptions.MaxHtmlNodes(value);
public static HtmlPdfExportOptions MaximumDegreeOfParallelism(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets OfficeImageExportOptions.MaximumDegreeOfParallelism.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaximumDegreeOfParallelism = value };    htmlPdfExportOptions.MaximumDegreeOfParallelism(value);
public static HtmlPdfExportOptions MaximumOutputCount(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets OfficeImageExportOptions.MaximumOutputCount.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaximumOutputCount = value };    htmlPdfExportOptions.MaximumOutputCount(value);
public static HtmlPdfExportOptions MaximumOutputHeight(HtmlPdfExportOptions htmlPdfExportOptions, int? value) #

Sets OfficeImageExportOptions.MaximumOutputHeight.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaximumOutputHeight = value };    htmlPdfExportOptions.MaximumOutputHeight(value);
public static HtmlPdfExportOptions MaximumOutputWidth(HtmlPdfExportOptions htmlPdfExportOptions, int? value) #

Sets OfficeImageExportOptions.MaximumOutputWidth.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaximumOutputWidth = value };    htmlPdfExportOptions.MaximumOutputWidth(value);
public static HtmlPdfExportOptions MaximumRasterPixels(HtmlPdfExportOptions htmlPdfExportOptions, long value) #

Sets OfficeImageExportOptions.MaximumRasterPixels.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value long required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaximumRasterPixels = value };    htmlPdfExportOptions.MaximumRasterPixels(value);
public static HtmlPdfExportOptions MaximumTotalEncodedBytes(HtmlPdfExportOptions htmlPdfExportOptions, long value) #

Sets OfficeImageExportOptions.MaximumTotalEncodedBytes.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value long required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaximumTotalEncodedBytes = value };    htmlPdfExportOptions.MaximumTotalEncodedBytes(value);
public static HtmlPdfExportOptions MaximumTotalRasterPixels(HtmlPdfExportOptions htmlPdfExportOptions, long value) #

Sets OfficeImageExportOptions.MaximumTotalRasterPixels.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value long required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaximumTotalRasterPixels = value };    htmlPdfExportOptions.MaximumTotalRasterPixels(value);
public static HtmlPdfExportOptions MaxInputCharacters(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxInputCharacters.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxInputCharacters = value };    htmlPdfExportOptions.MaxInputCharacters(value);
public static HtmlPdfExportOptions MaxLayoutDepth(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxLayoutDepth.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxLayoutDepth = value };    htmlPdfExportOptions.MaxLayoutDepth(value);
public static HtmlPdfExportOptions MaxLayoutOperations(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxLayoutOperations.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxLayoutOperations = value };    htmlPdfExportOptions.MaxLayoutOperations(value);
public static HtmlPdfExportOptions MaxLeaderCharacters(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxLeaderCharacters.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxLeaderCharacters = value };    htmlPdfExportOptions.MaxLeaderCharacters(value);
public static HtmlPdfExportOptions MaxOutlinedTextCharactersPerRun(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlPdfExportOptions.MaxOutlinedTextCharactersPerRun: Maximum UTF-16 characters expanded into vector font outlines for one rendered text run. Raise this only for trusted documents with unusually long unbroken text.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                       // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxOutlinedTextCharactersPerRun = value };    htmlPdfExportOptions.MaxOutlinedTextCharactersPerRun(value);
public static HtmlPdfExportOptions MaxOutlinedTextPathCommands(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlPdfExportOptions.MaxOutlinedTextPathCommands: Maximum path commands generated by text outlines across one PDF conversion.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                   // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxOutlinedTextPathCommands = value };    htmlPdfExportOptions.MaxOutlinedTextPathCommands(value);
public static HtmlPdfExportOptions MaxPageCount(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxPageCount.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxPageCount = value };    htmlPdfExportOptions.MaxPageCount(value);
public static HtmlPdfExportOptions MaxProjectedVisuals(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxProjectedVisuals.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxProjectedVisuals = value };    htmlPdfExportOptions.MaxProjectedVisuals(value);
public static HtmlPdfExportOptions MaxResourceBytes(HtmlPdfExportOptions htmlPdfExportOptions, long value) #

Sets HtmlRenderOptions.MaxResourceBytes.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value long required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxResourceBytes = value };    htmlPdfExportOptions.MaxResourceBytes(value);
public static HtmlPdfExportOptions MaxResourceCount(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxResourceCount.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxResourceCount = value };    htmlPdfExportOptions.MaxResourceCount(value);
public static HtmlPdfExportOptions MaxResourceRequests(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxResourceRequests.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxResourceRequests = value };    htmlPdfExportOptions.MaxResourceRequests(value);
public static HtmlPdfExportOptions MaxRunningStringCharacters(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxRunningStringCharacters.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxRunningStringCharacters = value };    htmlPdfExportOptions.MaxRunningStringCharacters(value);
public static HtmlPdfExportOptions MaxStylesheetImportDepth(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxStylesheetImportDepth.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxStylesheetImportDepth = value };    htmlPdfExportOptions.MaxStylesheetImportDepth(value);
public static HtmlPdfExportOptions MaxSurfaceHeight(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxSurfaceHeight.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxSurfaceHeight = value };    htmlPdfExportOptions.MaxSurfaceHeight(value);
public static HtmlPdfExportOptions MaxSurfaceWidth(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxSurfaceWidth.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxSurfaceWidth = value };    htmlPdfExportOptions.MaxSurfaceWidth(value);
public static HtmlPdfExportOptions MaxSvgForeignObjectDepth(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxSvgForeignObjectDepth.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxSvgForeignObjectDepth = value };    htmlPdfExportOptions.MaxSvgForeignObjectDepth(value);
public static HtmlPdfExportOptions MaxSvgForeignObjectHtmlNodes(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxSvgForeignObjectHtmlNodes.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                    // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxSvgForeignObjectHtmlNodes = value };    htmlPdfExportOptions.MaxSvgForeignObjectHtmlNodes(value);
public static HtmlPdfExportOptions MaxTableColumns(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxTableColumns.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxTableColumns = value };    htmlPdfExportOptions.MaxTableColumns(value);
public static HtmlPdfExportOptions MaxTableRows(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxTableRows.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxTableRows = value };    htmlPdfExportOptions.MaxTableRows(value);
public static HtmlPdfExportOptions MaxTextShadowLayers(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.MaxTextShadowLayers.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxTextShadowLayers = value };    htmlPdfExportOptions.MaxTextShadowLayers(value);
public static HtmlPdfExportOptions MaxTotalResourceBytes(HtmlPdfExportOptions htmlPdfExportOptions, long value) #

Sets HtmlRenderOptions.MaxTotalResourceBytes.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value long required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MaxTotalResourceBytes = value };    htmlPdfExportOptions.MaxTotalResourceBytes(value);
MediaFeatures 2 overloads
public static HtmlPdfExportOptions MediaFeatures(HtmlPdfExportOptions htmlPdfExportOptions, HtmlRenderMediaFeatures value) #

Sets HtmlRenderOptions.MediaFeatures.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Html.HtmlRenderMediaFeatures required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { MediaFeatures = value };    htmlPdfExportOptions.MediaFeatures(value);
public static HtmlPdfExportOptions MediaFeatures(HtmlPdfExportOptions htmlPdfExportOptions, Action<HtmlRenderMediaFeatures> configure) #

Configures HtmlRenderOptions.MediaFeatures in place (creating it when not set).

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Html.HtmlRenderMediaFeatures> required
Configures the value.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions Mode(HtmlPdfExportOptions htmlPdfExportOptions, HtmlRenderMode value) #

Sets HtmlRenderOptions.Mode.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Html.HtmlRenderMode required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { Mode = value };    htmlPdfExportOptions.Mode(value);
public static HtmlPdfExportOptions PageIndex(HtmlPdfExportOptions htmlPdfExportOptions, int value) #

Sets HtmlRenderOptions.PageIndex.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value int required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { PageIndex = value };    htmlPdfExportOptions.PageIndex(value);
public static HtmlPdfExportOptions PageSelection(HtmlPdfExportOptions htmlPdfExportOptions, IReadOnlyList<int>? value) #

Sets HtmlRenderOptions.PageSelection.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value System.Collections.Generic.IReadOnlyList<int>? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { PageSelection = value };    htmlPdfExportOptions.PageSelection(value);
public static HtmlPdfExportOptions PageSelector(HtmlPdfExportOptions htmlPdfExportOptions, OfficePageSelector? value) #

Sets OfficeImageExportOptions.PageSelector.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.OfficePageSelector? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { PageSelector = value };    htmlPdfExportOptions.PageSelector(value);
public static HtmlPdfExportOptions PageSize(HtmlPdfExportOptions htmlPdfExportOptions, OfficePageSize value) #

Sets HtmlRenderOptions.PageSize.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Drawing.OfficePageSize required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

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

Sets HtmlPdfExportOptions.PdfOptions: PDF writer settings used for the generated document, including file version, forward-only serialization, tagging, compliance groundwork, and output intents.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfCreateOptions required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

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

Configures HtmlPdfExportOptions.PdfOptions in place (creating it when not set): PDF writer settings used for the generated document, including file version, forward-only serialization, tagging, compliance groundwork, and output intents.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfCreateOptions> required
Configures the value.

Returns

HtmlPdfExportOptions The same instance.
Policy 2 overloads
public static HtmlPdfExportOptions Policy(HtmlPdfExportOptions htmlPdfExportOptions, OfficeImageExportPolicy value) #

Sets OfficeImageExportOptions.Policy.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Drawing.OfficeImageExportPolicy required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { Policy = value };    htmlPdfExportOptions.Policy(value);
public static HtmlPdfExportOptions Policy(HtmlPdfExportOptions htmlPdfExportOptions, Action<OfficeImageExportPolicy> configure) #

Configures OfficeImageExportOptions.Policy in place (creating it when not set).

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Drawing.OfficeImageExportPolicy> required
Configures the value.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions PrintLayoutWidthCssPixels(HtmlPdfExportOptions htmlPdfExportOptions, double? value) #

Sets HtmlPdfExportOptions.PrintLayoutWidthCssPixels: Optional wider CSS layout width for print-to-page fitting. The PDF keeps HtmlRenderOptions.PageSize as its physical size while the paged layout is uniformly reduced to fit its width. CSS media queries and responsive resource selection continue to use HtmlRenderOptions.ViewportWidth. When HtmlRenderOptions.HonorCssPageRules is true, the resolved authored page size and margins remain the physical PDF geometry while the content is reduced to fit its printable width. The requested width must exceed that printable width.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value double? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { PrintLayoutWidthCssPixels = value };    htmlPdfExportOptions.PrintLayoutWidthCssPixels(value);
public static HtmlPdfExportOptions Progress(HtmlPdfExportOptions htmlPdfExportOptions, IProgress<OfficeImageExportProgress>? value) #

Sets OfficeImageExportOptions.Progress.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value System.IProgress<OfficeIMO.Drawing.OfficeImageExportProgress>? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { Progress = value };    htmlPdfExportOptions.Progress(value);
public static HtmlPdfExportOptions ProjectSerializedShadowRoots(HtmlPdfExportOptions htmlPdfExportOptions, bool? value = true) #

Sets HtmlRenderOptions.ProjectSerializedShadowRoots.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                                    // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { ProjectSerializedShadowRoots = value };    htmlPdfExportOptions.ProjectSerializedShadowRoots(value);
RasterEncoding 2 overloads
public static HtmlPdfExportOptions RasterEncoding(HtmlPdfExportOptions htmlPdfExportOptions, OfficeRasterEncodingOptions value) #

Sets OfficeImageExportOptions.RasterEncoding.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Drawing.OfficeRasterEncodingOptions required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { RasterEncoding = value };    htmlPdfExportOptions.RasterEncoding(value);
public static HtmlPdfExportOptions RasterEncoding(HtmlPdfExportOptions htmlPdfExportOptions, Action<OfficeRasterEncodingOptions> configure) #

Configures OfficeImageExportOptions.RasterEncoding in place (creating it when not set).

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Drawing.OfficeRasterEncodingOptions> required
Configures the value.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions RasterOverflowBehavior(HtmlPdfExportOptions htmlPdfExportOptions, OfficeRasterOverflowBehavior value) #

Sets OfficeImageExportOptions.RasterOverflowBehavior.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Drawing.OfficeRasterOverflowBehavior required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { RasterOverflowBehavior = value };    htmlPdfExportOptions.RasterOverflowBehavior(value);
public static HtmlPdfExportOptions RenderTimeout(HtmlPdfExportOptions htmlPdfExportOptions, TimeSpan value) #

Sets OfficeImageExportOptions.RenderTimeout.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value System.TimeSpan required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { RenderTimeout = value };    htmlPdfExportOptions.RenderTimeout(value);
ResourcePolicy 2 overloads
public static HtmlPdfExportOptions ResourcePolicy(HtmlPdfExportOptions htmlPdfExportOptions, PdfResourcePolicy value) #

Sets HtmlPdfExportOptions.ResourcePolicy: Host-resource policy. Defaults to library-selected installed fonts and bounded in-source resources; document-selected host fonts, local files and remote reads are disabled.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfResourcePolicy required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

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

Configures HtmlPdfExportOptions.ResourcePolicy in place (creating it when not set): Host-resource policy. Defaults to library-selected installed fonts and bounded in-source resources; document-selected host fonts, local files and remote reads are disabled.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfResourcePolicy> required
Configures the value.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions ResourceTimeout(HtmlPdfExportOptions htmlPdfExportOptions, TimeSpan value) #

Sets HtmlRenderOptions.ResourceTimeout.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value System.TimeSpan required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { ResourceTimeout = value };    htmlPdfExportOptions.ResourceTimeout(value);
ResourceUrlPolicy 2 overloads
public static HtmlPdfExportOptions ResourceUrlPolicy(HtmlPdfExportOptions htmlPdfExportOptions, HtmlUrlPolicy? value) #

Sets HtmlRenderOptions.ResourceUrlPolicy.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Html.HtmlUrlPolicy? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { ResourceUrlPolicy = value };    htmlPdfExportOptions.ResourceUrlPolicy(value);
public static HtmlPdfExportOptions ResourceUrlPolicy(HtmlPdfExportOptions htmlPdfExportOptions, Action<HtmlUrlPolicy> configure) #

Configures HtmlRenderOptions.ResourceUrlPolicy in place (creating it when not set).

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Html.HtmlUrlPolicy> required
Configures the value.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions Scale(HtmlPdfExportOptions htmlPdfExportOptions, double value) #

Sets OfficeImageExportOptions.Scale.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value double required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { Scale = value };    htmlPdfExportOptions.Scale(value);
public static HtmlPdfExportOptions SvgTextAsPaths(HtmlPdfExportOptions htmlPdfExportOptions, bool value = true) #

Sets OfficeImageExportOptions.SvgTextAsPaths.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { SvgTextAsPaths = value };    htmlPdfExportOptions.SvgTextAsPaths(value);
public static HtmlPdfExportOptions TargetDpi(HtmlPdfExportOptions htmlPdfExportOptions, double? value) #

Sets OfficeImageExportOptions.TargetDpi.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value double? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { TargetDpi = value };    htmlPdfExportOptions.TargetDpi(value);
public static HtmlPdfExportOptions TextFallbacks(HtmlPdfExportOptions htmlPdfExportOptions, PdfTextFallbackFeatures value) #

Sets HtmlPdfExportOptions.TextFallbacks: OfficeIMO-managed font fallback groups used by generated PDF text.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfTextFallbackFeatures required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { TextFallbacks = value };    htmlPdfExportOptions.TextFallbacks(value);
public static HtmlPdfExportOptions TextShapingLanguage(HtmlPdfExportOptions htmlPdfExportOptions, string? value) #

Sets OfficeImageExportOptions.TextShapingLanguage.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value string? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { TextShapingLanguage = value };    htmlPdfExportOptions.TextShapingLanguage(value);
public static HtmlPdfExportOptions TextShapingMode(HtmlPdfExportOptions htmlPdfExportOptions, PdfTextShapingMode value) #

Sets HtmlPdfExportOptions.TextShapingMode: Dependency-free shaping mode used by generated PDF text.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfTextShapingMode required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { TextShapingMode = value };    htmlPdfExportOptions.TextShapingMode(value);
public static HtmlPdfExportOptions TextShapingProvider(HtmlPdfExportOptions htmlPdfExportOptions, IOfficeTextShapingProvider? value) #

Sets HtmlPdfExportOptions.TextShapingProvider: Optional host-provided shaping seam used with caller-supplied or resolved embedded fonts.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Drawing.IOfficeTextShapingProvider? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { TextShapingProvider = value };    htmlPdfExportOptions.TextShapingProvider(value);
UrlPolicy 2 overloads
public static HtmlPdfExportOptions UrlPolicy(HtmlPdfExportOptions htmlPdfExportOptions, HtmlUrlPolicy value) #

Sets HtmlRenderOptions.UrlPolicy.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Html.HtmlUrlPolicy required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { UrlPolicy = value };    htmlPdfExportOptions.UrlPolicy(value);
public static HtmlPdfExportOptions UrlPolicy(HtmlPdfExportOptions htmlPdfExportOptions, Action<HtmlUrlPolicy> configure) #

Configures HtmlRenderOptions.UrlPolicy in place (creating it when not set).

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Html.HtmlUrlPolicy> required
Configures the value.

Returns

HtmlPdfExportOptions The same instance.
public static HtmlPdfExportOptions UserAgentStyles(HtmlPdfExportOptions htmlPdfExportOptions, HtmlRenderUserAgentStyleMode value) #

Sets HtmlRenderOptions.UserAgentStyles.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value OfficeIMO.Html.HtmlRenderUserAgentStyleMode required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { UserAgentStyles = value };    htmlPdfExportOptions.UserAgentStyles(value);
public static HtmlPdfExportOptions ViewportHeight(HtmlPdfExportOptions htmlPdfExportOptions, double? value) #

Sets HtmlRenderOptions.ViewportHeight.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value double? required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { ViewportHeight = value };    htmlPdfExportOptions.ViewportHeight(value);
public static HtmlPdfExportOptions ViewportWidth(HtmlPdfExportOptions htmlPdfExportOptions, double value) #

Sets HtmlRenderOptions.ViewportWidth.

Parameters

htmlPdfExportOptions OfficeIMO.Html.Pdf.HtmlPdfExportOptions required
The instance.
value double required
The value.

Returns

HtmlPdfExportOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Html.Pdf.HtmlPdfExportOptions { ViewportWidth = value };    htmlPdfExportOptions.ViewportWidth(value);