# OfficeRenderingProfile

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

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeRenderingProfile.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L21)

**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

Explore 3 API references to this type

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

### Returned or exposed by 2

- Method [OfficeFontFallbackPack.CreateRenderingProfile](/api/core/officeimo-drawing-officefontfallbackpack/#method-createrenderingprofile-officeimo-drawing-iofficetextshapingprovider-string-officeimo-drawing-iofficerasterimagecodec-officeimo-drawing-officeimageexportpolicy)
- Property [OfficeRenderingProfile.Managed](/api/core/officeimo-drawing-officerenderingprofile/#property-managed)

### Accepted by parameters 1

- Method [OfficeImageExportOptionsExtensions.UseRenderingProfile``1](/api/core/officeimo-drawing-officeimageexportoptionsextensions/#method-userenderingprofile-officeimo-drawing-officerenderingprofile-officeimo-drawing-officerenderingprofileapplymode) parameter `profile`

Filter members 

Show inherited

## Constructors

`public OfficeRenderingProfile(string name, OfficeFontFaceCollection? fonts = null, IOfficeTextShapingProvider? textShapingProvider = null, string? textShapingLanguage = null, IOfficeRasterImageCodec? imageCodec = null, OfficeImageExportPolicy? policy = null)` [#](#member-3b38eafd34eaa4759ebdfac5)

[OfficeRenderingProfile.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L21)

Creates a rendering profile.

Parameters

**name string required**

Stable human-readable profile name used by diagnostics and host configuration.

**fonts OfficeIMO.Drawing.OfficeFontFaceCollection? = null optional**

Deterministic caller-supplied font faces and fallback order.

**textShapingProvider OfficeIMO.Drawing.IOfficeTextShapingProvider? = null optional**

Optional complex-text shaping provider.

**textShapingLanguage string? = null optional**

Optional BCP 47 language hint.

**imageCodec OfficeIMO.Drawing.IOfficeRasterImageCodec? = null optional**

Optional shared image codec.

**policy OfficeIMO.Drawing.OfficeImageExportPolicy? = null optional**

Diagnostic acceptance policy.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public static OfficeRenderingProfile Managed { get; }` [#](#property-managed)

[OfficeRenderingProfile.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L43)

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

`public string Name { get; }` [#](#property-name)

[OfficeRenderingProfile.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L48)

Stable human-readable profile name.

`public OfficeFontFaceCollection Fonts { get; }` [#](#property-fonts)

[OfficeRenderingProfile.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L51)

Independent snapshot of deterministic font faces and fallback order.

`public IOfficeTextShapingProvider? TextShapingProvider { get; }` [#](#property-textshapingprovider)

[OfficeRenderingProfile.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L54)

Complex-text shaping provider used by all compatible renderers.

`public OfficeTextShapingBackend? TextShapingBackend { get; }` [#](#property-textshapingbackend)

[OfficeRenderingProfile.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L57)

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

`public string? TextShapingLanguage { get; }` [#](#property-textshapinglanguage)

[OfficeRenderingProfile.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L63)

Optional BCP 47 language hint.

`public IOfficeRasterImageCodec? ImageCodec { get; }` [#](#property-imagecodec)

[OfficeRenderingProfile.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L66)

Optional shared raster image codec.

`public OfficeImageExportPolicy Policy { get; }` [#](#property-policy)

[OfficeRenderingProfile.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeRenderingProfile.cs#L69)

Independent snapshot of the diagnostic acceptance policy.

<!-- PowerForge markdown artifact sha256:8A096190EA52D1CBA52C0E5B55C3A653AF31AB713E378AE13B2F6C5E3C694D4A -->
