# EntitySegmentLocation

Host-supplied coordinates for a text segment.

Class 

`OfficeIMO.Entities`

**Namespace**

`OfficeIMO.Entities`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[EntitySegmentLocation.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntitySegmentLocation.cs#L6)

**Modifiers**

sealed

Host-supplied coordinates for a text segment.

## Inheritance

- object
- EntitySegmentLocation

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

- Property [EntityMatch.Location](/api/core/officeimo-entities-entitymatch/#property-location)
- Property [EntityTextSegment.Location](/api/core/officeimo-entities-entitytextsegment/#property-location)

### Accepted by parameters 1

- Constructor [EntityTextSegment.EntityTextSegment](/api/core/officeimo-entities-entitytextsegment/#constructor-ctor-string-officeimo-entities-entitysegmentlocation-string-boolean-boolean) parameter `location`

Filter members 

Show inherited

## Constructors

`public EntitySegmentLocation(string? part = null, string? address = null, int? page = null)` [#](#constructor-ctor-string-string-nullable-system-int32)

[EntitySegmentLocation.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntitySegmentLocation.cs#L6)

Creates a location from the source part, address or page.

Parameters

**part string? = null optional**

**address string? = null optional**

**page int? = null optional**

## 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? Part { get; }` [#](#property-part)

[EntitySegmentLocation.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntitySegmentLocation.cs#L13)

Source part name, such as a worksheet name.

`public string? Address { get; }` [#](#property-address)

[EntitySegmentLocation.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntitySegmentLocation.cs#L15)

Address within the source part, such as a cell coordinate.

`public int? Page { get; }` [#](#property-page)

[EntitySegmentLocation.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntitySegmentLocation.cs#L17)

Host-supplied page number.

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