# OfficeDrawingPortableOptions

Bounds the solid-paint, positioned Latin-text drawing interchange profile.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[OfficeDrawingPortableOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Core/OfficeDrawingPortableOptions.cs#L16)

**Modifiers**

sealed

Bounds the solid-paint, positioned Latin-text drawing interchange profile.

## Inheritance

- object
- OfficeDrawingPortableOptions

## Remarks

The producer and consumer must register the same licensed static TrueType faces. Font bytes and fallback font registries are not carried by the drawing payload.

## Usage

Explore 1 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.

### Accepted by parameters 1

- Method [OfficeDrawingPortableExporter.TryExportJson](/api/core/officeimo-drawing-officedrawingportableexporter/#method-tryexportjson-officeimo-drawing-officedrawing-officeimo-drawing-officedrawingportableoptions-string-collections-generic-ireadonlylist-officeimo-officediagnostic) parameter `options`

Filter members 

Show inherited

## Constructors

`public OfficeDrawingPortableOptions(string fontFamily)` [#](#constructor-ctor-string)

[OfficeDrawingPortableOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Core/OfficeDrawingPortableOptions.cs#L16)

Creates an export profile bound to one explicit font family.

Parameters

**fontFamily string required**

## 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 string FontFamily { get; }` [#](#property-fontfamily)

[OfficeDrawingPortableOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Core/OfficeDrawingPortableOptions.cs#L14)

Exact primary family required for every text element, ignoring case. SVG family lists may append fallbacks; the registered primary face must cover the complete run.

`public int MaximumElements { get; set; }` [#](#property-maximumelements)

[OfficeDrawingPortableOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Core/OfficeDrawingPortableOptions.cs#L16)

Maximum source and generated drawing elements, including clip groups.

`public int MaximumCommands { get; set; }` [#](#property-maximumcommands)

[OfficeDrawingPortableOptions.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Core/OfficeDrawingPortableOptions.cs#L18)

Maximum path commands across the complete drawing.

`public int MaximumDepth { get; set; }` [#](#property-maximumdepth)

[OfficeDrawingPortableOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Core/OfficeDrawingPortableOptions.cs#L20)

Maximum nested drawing/group depth.

`public int MaximumTextCharacters { get; set; }` [#](#property-maximumtextcharacters)

[OfficeDrawingPortableOptions.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Core/OfficeDrawingPortableOptions.cs#L22)

Maximum UTF-16 characters across all text runs.

`public int MaximumJsonCharacters { get; set; }` [#](#property-maximumjsoncharacters)

[OfficeDrawingPortableOptions.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Core/OfficeDrawingPortableOptions.cs#L24)

Maximum characters in the returned JSON document.

<!-- PowerForge markdown artifact sha256:A11A0A0F3D2339AADA81D8F91E8D391A2F356901185FF90CA2843A356FDEC8B1 -->
