# OfficePathCommandKind

Shared path command types that OfficeIMO packages can map into their own vector formats.

Enum 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficePathCommandKind.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficePathCommandKind.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Shared path command types that OfficeIMO packages can map into their own vector formats.

## Inheritance

- Enum
- OfficePathCommandKind

## Usage

Explore 6 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 6

- Property [OfficePathCommand.Kind](/api/core/officeimo-drawing-officepathcommand/#property-kind)
- Field [OfficePathCommandKind.Close](/api/core/officeimo-drawing-officepathcommandkind/#field-close)
- Field [OfficePathCommandKind.CubicBezierTo](/api/core/officeimo-drawing-officepathcommandkind/#field-cubicbezierto)
- Field [OfficePathCommandKind.LineTo](/api/core/officeimo-drawing-officepathcommandkind/#field-lineto)
- Field [OfficePathCommandKind.MoveTo](/api/core/officeimo-drawing-officepathcommandkind/#field-moveto)
- Field [OfficePathCommandKind.QuadraticBezierTo](/api/core/officeimo-drawing-officepathcommandkind/#field-quadraticbezierto)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OfficePathCommandKind MoveTo` [#](#field-moveto)

[OfficePathCommandKind.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficePathCommandKind.cs#L8)

Moves the current point without drawing.

Value: `0`

`public const OfficePathCommandKind LineTo` [#](#field-lineto)

[OfficePathCommandKind.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficePathCommandKind.cs#L11)

Draws a straight line to a point.

Value: `1`

`public const OfficePathCommandKind QuadraticBezierTo` [#](#field-quadraticbezierto)

[OfficePathCommandKind.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficePathCommandKind.cs#L14)

Draws a quadratic Bezier curve using one control point and an end point.

Value: `2`

`public const OfficePathCommandKind CubicBezierTo` [#](#field-cubicbezierto)

[OfficePathCommandKind.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficePathCommandKind.cs#L17)

Draws a cubic Bezier curve using two control points and an end point.

Value: `3`

`public const OfficePathCommandKind Close` [#](#field-close)

[OfficePathCommandKind.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficePathCommandKind.cs#L20)

Closes the current figure.

Value: `4`

<!-- PowerForge markdown artifact sha256:2BA359D5E2B60AF801D491A490FB033672432203C691A0E67C479ADA2C45A6BE -->
