# RtfFileReferenceFluent

The fluent methods of RtfFileReference, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Modifiers**

static

The fluent methods of [RtfFileReference](/api/rtf/officeimo-rtf-rtffilereference/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- RtfFileReferenceFluent

Filter members 

Show inherited

## Methods

`public static RtfFileReference OperatingSystemNumber(RtfFileReference rtfFileReference, int? value)` [#](#method-operatingsystemnumber-officeimo-rtf-rtffilereference-nullable-system-int32)

Sets [RtfFileReference.OperatingSystemNumber](/api/rtf/officeimo-rtf-rtffilereference/): Operating-system-specific file number from \fosnum.

Parameters

**rtfFileReference OfficeIMO.Rtf.RtfFileReference required**

The instance.

**value int? required**

The value.

Returns

`RtfFileReference` The same instance.

Examples

```csharp
// C# initializer or property                      // C# fluent
rtfFileReference.OperatingSystemNumber = value;    rtfFileReference.OperatingSystemNumber(value);
```

`public static RtfFileReference Path(RtfFileReference rtfFileReference, string value)` [#](#method-path-officeimo-rtf-rtffilereference-string)

Sets [RtfFileReference.Path](/api/rtf/officeimo-rtf-rtffilereference/): Referenced path text.

Parameters

**rtfFileReference OfficeIMO.Rtf.RtfFileReference required**

The instance.

**value string required**

The value.

Returns

`RtfFileReference` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
rtfFileReference.Path = value;    rtfFileReference.Path(value);
```

`public static RtfFileReference RelativePathStart(RtfFileReference rtfFileReference, int? value)` [#](#method-relativepathstart-officeimo-rtf-rtffilereference-nullable-system-int32)

Sets [RtfFileReference.RelativePathStart](/api/rtf/officeimo-rtf-rtffilereference/): Character offset where the relative portion of the path starts, from \frelative.

Parameters

**rtfFileReference OfficeIMO.Rtf.RtfFileReference required**

The instance.

**value int? required**

The value.

Returns

`RtfFileReference` The same instance.

Examples

```csharp
// C# initializer or property                  // C# fluent
rtfFileReference.RelativePathStart = value;    rtfFileReference.RelativePathStart(value);
```

`public static RtfFileReference Sources(RtfFileReference rtfFileReference, RtfFileSource value)` [#](#method-sources-officeimo-rtf-rtffilereference-officeimo-rtf-rtffilesource)

Sets [RtfFileReference.Sources](/api/rtf/officeimo-rtf-rtffilereference/): File-system source flags such as \fvalidntfs and \fnetwork.

Parameters

**rtfFileReference OfficeIMO.Rtf.RtfFileReference required**

The instance.

**value OfficeIMO.Rtf.RtfFileSource required**

The value.

Returns

`RtfFileReference` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
rtfFileReference.Sources = value;    rtfFileReference.Sources(value);
```

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

<!-- PowerForge markdown artifact sha256:97FA2325E22D6FAB2B762B610BBDE4518A9FDA4063C7B2E7CBC5AD03848AD428 -->
