# PackageVisualContext

Visual context from a Visio package document part that imported masters may inherit.

Class 

`OfficeIMO.Visio.VisioAssets`

**Namespace**

`OfficeIMO.Visio.VisioAssets`

**Assembly**

`OfficeIMO.Visio`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[VisioAssets.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioAssets.cs#L90)

**Modifiers**

sealed

Visual context from a Visio package document part that imported masters may inherit.

## Inheritance

- object
- PackageVisualContext

## 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.

### Returned or exposed by 1

- Method [VisioAssets.LoadVisualContext](/api/visio/officeimo-visio-visioassets/#method-loadvisualcontext-string)

Filter members 

Show inherited

## Constructors

`public PackageVisualContext()` [#](#constructor-ctor)

## 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 XDocument? DocumentXml { get; set; }` [#](#property-documentxml)

[VisioAssets.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioAssets.cs#L90)

Raw visio/document.xml from the source package.

`public XDocument? ThemeXml { get; set; }` [#](#property-themexml)

[VisioAssets.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioAssets.cs#L92)

Raw theme XML from the source package, when present.

<!-- PowerForge markdown artifact sha256:40AB1D1C5154A21E8D855D165A5DC3E8A2857688E634FC6EBE55193CA8A1314A -->
