Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeRenderingProfile

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Describes one reusable, deterministic rendering configuration shared by OfficeIMO document adapters.

Inheritance

  • Object
  • OfficeRenderingProfile

Remarks

A profile owns format-neutral resources and acceptance policy. Document-specific pagination and layout settings remain on the corresponding Word, Excel, PowerPoint, PDF, Visio, or OneNote options.

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public OfficeRenderingProfile(String name, OfficeFontFaceCollection fonts = null, IOfficeTextShapingProvider textShapingProvider = null, String textShapingLanguage = null, IOfficeRasterImageCodec imageCodec = null, OfficeImageExportPolicy policy = null) #

Creates a rendering profile.

Parameters

name System.String requiredposition: 0
Stable human-readable profile name used by diagnostics and host configuration.
fonts OfficeIMO.Drawing.OfficeFontFaceCollection = null optionalposition: 1
Deterministic caller-supplied font faces and fallback order.
textShapingProvider OfficeIMO.Drawing.IOfficeTextShapingProvider = null optionalposition: 2
Optional complex-text shaping provider.
textShapingLanguage System.String = null optionalposition: 3
Optional BCP 47 language hint.
imageCodec OfficeIMO.Drawing.IOfficeRasterImageCodec = null optionalposition: 4
Optional shared image codec.
policy OfficeIMO.Drawing.OfficeImageExportPolicy = null optionalposition: 5
Diagnostic acceptance policy.

Properties

public static OfficeRenderingProfile Managed { get; } #

Dependency-free profile using OfficeIMO's managed text shaper and default loss policy.

public String Name { get; } #

Stable human-readable profile name.

public OfficeFontFaceCollection Fonts { get; } #

Independent snapshot of deterministic font faces and fallback order.

public IOfficeTextShapingProvider TextShapingProvider { get; } #

Complex-text shaping provider used by all compatible renderers.

public Nullable<OfficeTextShapingBackend> TextShapingBackend { get; } #

Identifies the selected shaping engine, when a provider is configured.

public String TextShapingLanguage { get; } #

Optional BCP 47 language hint.

public IOfficeRasterImageCodec ImageCodec { get; } #

Optional shared raster image codec.

public OfficeImageExportPolicy Policy { get; } #

Independent snapshot of the diagnostic acceptance policy.