# RtfShapeProperty

Named shape property from an RTF \sp group.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfShapeProperty.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfShapeProperty.cs#L8)

**Implements**

`IRtfCloneable`

**Modifiers**

sealed

Named shape property from an RTF \sp group.

## Inheritance

- object
- RtfShapeProperty

## Usage

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

- Method [RtfShape.AddProperty](/api/rtf/officeimo-rtf-rtfshape/#method-addproperty-string-string)
- Property [RtfShape.Properties](/api/rtf/officeimo-rtf-rtfshape/#property-properties)

Filter members 

Show inherited

## Constructors

`public RtfShapeProperty(string name, string? value = null)` [#](#constructor-ctor-string-string)

[RtfShapeProperty.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfShapeProperty.cs#L8)

Creates a named shape property.

Parameters

**name string required**

**value string? = 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 Name { get; }` [#](#property-name)

[RtfShapeProperty.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfShapeProperty.cs#L15)

Property name from the \sn destination.

`public string Value { get; set; }` [#](#property-value)

[RtfShapeProperty.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfShapeProperty.cs#L18)

Property value from the \sv destination.

<!-- PowerForge markdown artifact sha256:8BF3CB9AC729F581B1990C4ED9ECE9B0CCD81BE454AA891C28270D5737A688F3 -->
