# OneNoteImage

An image placed on a page or in an outline.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteBinaryContent.cs:131](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L131)

**Base**

`OneNoteBinaryElement`

**Modifiers**

sealed

An image placed on a page or in an outline.

## Inheritance

- [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)
- [OneNoteBinaryElement](/api/onenote/officeimo-onenote-onenotebinaryelement/)
- OneNoteImage

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

- Property [OneNoteEmbeddedFile.Icon](/api/onenote/officeimo-onenote-onenoteembeddedfile/#property-icon)

Filter members 

Show inherited

## Constructors

`public OneNoteImage()` [#](#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 override OneNoteElementKind Kind { get; }` [#](#property-kind)

[OneNoteBinaryContent.cs:131](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L131)

Logical content kind.

`public string? AltText { get; set; }` [#](#property-alttext)

[OneNoteBinaryContent.cs:134](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L134)

Alternative text.

`public string? SourcePath { get; set; }` [#](#property-sourcepath)

[OneNoteBinaryContent.cs:137](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L137)

Source path recorded by OneNote.

`public string? Hyperlink { get; set; }` [#](#property-hyperlink)

[OneNoteBinaryContent.cs:140](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L140)

Optional hyperlink associated with the image.

`public string? OcrText { get; set; }` [#](#property-ocrtext)

[OneNoteBinaryContent.cs:143](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L143)

Optical-character-recognition text stored with the image.

`public uint? OcrLanguageId { get; set; }` [#](#property-ocrlanguageid)

[OneNoteBinaryContent.cs:146](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L146)

LCID used for image optical-character recognition.

`public uint? DisplayedPageNumber { get; set; }` [#](#property-displayedpagenumber)

[OneNoteBinaryContent.cs:149](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L149)

Displayed printout page number when the image represents a printed page.

`public bool? IsBackground { get; set; }` [#](#property-isbackground)

[OneNoteBinaryContent.cs:152](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L152)

Whether the image is directly placed as a page background.

`public bool? SizeSetByUser { get; set; }` [#](#property-sizesetbyuser)

[OneNoteBinaryContent.cs:155](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L155)

Whether the displayed size was explicitly selected by the user.

`public uint? UploadState { get; set; }` [#](#property-uploadstate)

[OneNoteBinaryContent.cs:158](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L158)

Native upload-state value for source compatibility.

`public double? WidthHalfInches { get; set; }` [#](#property-widthhalfinches)

[OneNoteBinaryContent.cs:164](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L164)

Original image width in the half-inch increments used by the MS-ONE PictureWidth property.

`public double? HeightHalfInches { get; set; }` [#](#property-heighthalfinches)

[OneNoteBinaryContent.cs:170](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L170)

Original image height in the half-inch increments used by the MS-ONE PictureHeight property.

## Inherited Properties

`public string? FileName { get; set; }` [#](#property-filename)

[OneNoteBinaryContent.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L113)

Inherited from [OneNoteBinaryElement](/api/onenote/officeimo-onenote-onenotebinaryelement/)

`public string? MediaType { get; set; }` [#](#property-mediatype)

[OneNoteBinaryContent.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L116)

Inherited from [OneNoteBinaryElement](/api/onenote/officeimo-onenote-onenotebinaryelement/)

`public OneNoteBinaryPayload? Payload { get; set; }` [#](#property-payload)

[OneNoteBinaryContent.cs:119](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteBinaryContent.cs#L119)

Inherited from [OneNoteBinaryElement](/api/onenote/officeimo-onenote-onenotebinaryelement/)

`public OneNoteExtendedGuid? Id { get; set; }` [#](#property-id)

[OneNoteContent.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L32)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public OneNoteLayout? Layout { get; set; }` [#](#property-layout)

[OneNoteContent.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L38)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public OneNoteAuthor? Author { get; set; }` [#](#property-author)

[OneNoteContent.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L41)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public IList<OneNoteTag> Tags { get; }` [#](#property-tags)

[OneNoteContent.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L44)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public IList<OneNoteOpaqueProperty> UnknownProperties { get; }` [#](#property-unknownproperties)

[OneNoteContent.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L47)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

<!-- PowerForge markdown artifact sha256:9EF3F0972A1056D2F661CAC38A860653BB16F991BE31A7469B9B67A9E13D92F2 -->
