# RtfParagraphFrameFluent

The fluent methods of RtfParagraphFrame, 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 [RtfParagraphFrame](/api/rtf/officeimo-rtf-rtfparagraphframe/), 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
- RtfParagraphFrameFluent

Filter members 

Show inherited

## Methods

`public static RtfParagraphFrame AnchorLocked(RtfParagraphFrame rtfParagraphFrame, bool value = true)` [#](#method-anchorlocked-officeimo-rtf-rtfparagraphframe-boolean)

Sets [RtfParagraphFrame.AnchorLocked](/api/rtf/officeimo-rtf-rtfparagraphframe/): Whether the frame anchor is locked to its paragraph, represented by \abslock.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { AnchorLocked = value };    rtfParagraphFrame.AnchorLocked(value);
```

`public static RtfParagraphFrame Anchors(RtfParagraphFrame rtfParagraphFrame, RtfParagraphFrameHorizontalAnchor? horizontalAnchor = null, RtfParagraphFrameVerticalAnchor? verticalAnchor = null)` [#](#method-anchors-officeimo-rtf-rtfparagraphframe-nullable-officeimo-rtf-rtfparagraphframehorizontalanchor-nullable-officeimo-rtf-rtfparagraphframeverticalanchor)

Sets frame reference anchors.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**horizontalAnchor OfficeIMO.Rtf.RtfParagraphFrameHorizontalAnchor? = null optional**

The value.

**verticalAnchor OfficeIMO.Rtf.RtfParagraphFrameVerticalAnchor? = null optional**

The value.

Returns

`RtfParagraphFrame` The same instance.

`public static RtfParagraphFrame DropCap(RtfParagraphFrame rtfParagraphFrame, int? lines, RtfDropCapKind? kind)` [#](#method-dropcap-officeimo-rtf-rtfparagraphframe-nullable-system-int32-nullable-officeimo-rtf-rtfdropcapkind)

Sets drop-cap metadata for this paragraph frame.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**lines int? required**

The value.

**kind OfficeIMO.Rtf.RtfDropCapKind? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

`public static RtfParagraphFrame DropCapKind(RtfParagraphFrame rtfParagraphFrame, RtfDropCapKind? value)` [#](#method-dropcapkind-officeimo-rtf-rtfparagraphframe-nullable-officeimo-rtf-rtfdropcapkind)

Sets [RtfParagraphFrame.DropCapKind](/api/rtf/officeimo-rtf-rtfparagraphframe/): Drop-cap placement, represented by \dropcapt.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value OfficeIMO.Rtf.RtfDropCapKind? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { DropCapKind = value };    rtfParagraphFrame.DropCapKind(value);
```

`public static RtfParagraphFrame DropCapLines(RtfParagraphFrame rtfParagraphFrame, int? value)` [#](#method-dropcaplines-officeimo-rtf-rtfparagraphframe-nullable-system-int32)

Sets [RtfParagraphFrame.DropCapLines](/api/rtf/officeimo-rtf-rtfparagraphframe/): Number of lines occupied by a drop cap, represented by \dropcapli.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { DropCapLines = value };    rtfParagraphFrame.DropCapLines(value);
```

`public static RtfParagraphFrame HeightTwips(RtfParagraphFrame rtfParagraphFrame, int? value)` [#](#method-heighttwips-officeimo-rtf-rtfparagraphframe-nullable-system-int32)

Sets [RtfParagraphFrame.HeightTwips](/api/rtf/officeimo-rtf-rtfparagraphframe/): Frame height in twips, represented by \absh. Negative values request exact height.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { HeightTwips = value };    rtfParagraphFrame.HeightTwips(value);
```

`public static RtfParagraphFrame HorizontalAnchor(RtfParagraphFrame rtfParagraphFrame, RtfParagraphFrameHorizontalAnchor? value)` [#](#method-horizontalanchor-officeimo-rtf-rtfparagraphframe-nullable-officeimo-rtf-rtfparagraphframehorizontalanchor)

Sets [RtfParagraphFrame.HorizontalAnchor](/api/rtf/officeimo-rtf-rtfparagraphframe/): Horizontal reference frame.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value OfficeIMO.Rtf.RtfParagraphFrameHorizontalAnchor? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { HorizontalAnchor = value };    rtfParagraphFrame.HorizontalAnchor(value);
```

`public static RtfParagraphFrame HorizontalPosition(RtfParagraphFrame rtfParagraphFrame, RtfParagraphFrameHorizontalPosition? value)` [#](#method-horizontalposition-officeimo-rtf-rtfparagraphframe-nullable-officeimo-rtf-rtfparagraphframehorizontalposition)

Sets [RtfParagraphFrame.HorizontalPosition](/api/rtf/officeimo-rtf-rtfparagraphframe/): Horizontal positioning mode.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value OfficeIMO.Rtf.RtfParagraphFrameHorizontalPosition? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { HorizontalPosition = value };    rtfParagraphFrame.HorizontalPosition(value);
```

`public static RtfParagraphFrame HorizontalPositionTwips(RtfParagraphFrame rtfParagraphFrame, int? value)` [#](#method-horizontalpositiontwips-officeimo-rtf-rtfparagraphframe-nullable-system-int32)

Sets [RtfParagraphFrame.HorizontalPositionTwips](/api/rtf/officeimo-rtf-rtfparagraphframe/): Absolute horizontal offset in twips used by \posx or \posnegx.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { HorizontalPositionTwips = value };    rtfParagraphFrame.HorizontalPositionTwips(value);
```

`public static RtfParagraphFrame NoOverlap(RtfParagraphFrame rtfParagraphFrame, bool? value = true)` [#](#method-nooverlap-officeimo-rtf-rtfparagraphframe-nullable-system-boolean)

Sets [RtfParagraphFrame.NoOverlap](/api/rtf/officeimo-rtf-rtfparagraphframe/): Whether the frame avoids overlap, represented by \absnoovrlp.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { NoOverlap = value };    rtfParagraphFrame.NoOverlap(value);
```

`public static RtfParagraphFrame NoWrap(RtfParagraphFrame rtfParagraphFrame, bool value = true)` [#](#method-nowrap-officeimo-rtf-rtfparagraphframe-boolean)

Sets [RtfParagraphFrame.NoWrap](/api/rtf/officeimo-rtf-rtfparagraphframe/): Whether main text should not wrap around the frame, represented by \nowrap.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { NoWrap = value };    rtfParagraphFrame.NoWrap(value);
```

`public static RtfParagraphFrame OverlayText(RtfParagraphFrame rtfParagraphFrame, bool value = true)` [#](#method-overlaytext-officeimo-rtf-rtfparagraphframe-boolean)

Sets [RtfParagraphFrame.OverlayText](/api/rtf/officeimo-rtf-rtfparagraphframe/): Whether main text flows underneath the frame, represented by \overlay.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { OverlayText = value };    rtfParagraphFrame.OverlayText(value);
```

`public static RtfParagraphFrame Position(RtfParagraphFrame rtfParagraphFrame, RtfParagraphFrameHorizontalPosition? horizontalPosition = null, int? horizontalTwips = null, RtfParagraphFrameVerticalPosition? verticalPosition = null, int? verticalTwips = null)` [#](#member-3988e6b6d7358a8e78efaf0d)

Sets horizontal and vertical frame positioning.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**horizontalPosition OfficeIMO.Rtf.RtfParagraphFrameHorizontalPosition? = null optional**

The value.

**horizontalTwips int? = null optional**

The value.

**verticalPosition OfficeIMO.Rtf.RtfParagraphFrameVerticalPosition? = null optional**

The value.

**verticalTwips int? = null optional**

The value.

Returns

`RtfParagraphFrame` The same instance.

`public static RtfParagraphFrame Size(RtfParagraphFrame rtfParagraphFrame, int? widthTwips = null, int? heightTwips = null)` [#](#method-size-officeimo-rtf-rtfparagraphframe-nullable-system-int32-nullable-system-int32)

Sets frame dimensions in twips.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**widthTwips int? = null optional**

The value.

**heightTwips int? = null optional**

The value.

Returns

`RtfParagraphFrame` The same instance.

`public static RtfParagraphFrame TextWrapDistanceHorizontalTwips(RtfParagraphFrame rtfParagraphFrame, int? value)` [#](#method-textwrapdistancehorizontaltwips-officeimo-rtf-rtfparagraphframe-nullable-system-int32)

Sets [RtfParagraphFrame.TextWrapDistanceHorizontalTwips](/api/rtf/officeimo-rtf-rtfparagraphframe/): Horizontal distance in twips from surrounding text, represented by \dfrmtxtx.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { TextWrapDistanceHorizontalTwips = value };    rtfParagraphFrame.TextWrapDistanceHorizontalTwips(value);
```

`public static RtfParagraphFrame TextWrapDistanceTwips(RtfParagraphFrame rtfParagraphFrame, int? value)` [#](#method-textwrapdistancetwips-officeimo-rtf-rtfparagraphframe-nullable-system-int32)

Sets [RtfParagraphFrame.TextWrapDistanceTwips](/api/rtf/officeimo-rtf-rtfparagraphframe/): Distance in twips from surrounding text in all directions, represented by \dxfrtext.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { TextWrapDistanceTwips = value };    rtfParagraphFrame.TextWrapDistanceTwips(value);
```

`public static RtfParagraphFrame TextWrapDistanceVerticalTwips(RtfParagraphFrame rtfParagraphFrame, int? value)` [#](#method-textwrapdistanceverticaltwips-officeimo-rtf-rtfparagraphframe-nullable-system-int32)

Sets [RtfParagraphFrame.TextWrapDistanceVerticalTwips](/api/rtf/officeimo-rtf-rtfparagraphframe/): Vertical distance in twips from surrounding text, represented by \dfrmtxty.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { TextWrapDistanceVerticalTwips = value };    rtfParagraphFrame.TextWrapDistanceVerticalTwips(value);
```

`public static RtfParagraphFrame VerticalAnchor(RtfParagraphFrame rtfParagraphFrame, RtfParagraphFrameVerticalAnchor? value)` [#](#method-verticalanchor-officeimo-rtf-rtfparagraphframe-nullable-officeimo-rtf-rtfparagraphframeverticalanchor)

Sets [RtfParagraphFrame.VerticalAnchor](/api/rtf/officeimo-rtf-rtfparagraphframe/): Vertical reference frame.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value OfficeIMO.Rtf.RtfParagraphFrameVerticalAnchor? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { VerticalAnchor = value };    rtfParagraphFrame.VerticalAnchor(value);
```

`public static RtfParagraphFrame VerticalPosition(RtfParagraphFrame rtfParagraphFrame, RtfParagraphFrameVerticalPosition? value)` [#](#method-verticalposition-officeimo-rtf-rtfparagraphframe-nullable-officeimo-rtf-rtfparagraphframeverticalposition)

Sets [RtfParagraphFrame.VerticalPosition](/api/rtf/officeimo-rtf-rtfparagraphframe/): Vertical positioning mode.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value OfficeIMO.Rtf.RtfParagraphFrameVerticalPosition? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { VerticalPosition = value };    rtfParagraphFrame.VerticalPosition(value);
```

`public static RtfParagraphFrame VerticalPositionTwips(RtfParagraphFrame rtfParagraphFrame, int? value)` [#](#method-verticalpositiontwips-officeimo-rtf-rtfparagraphframe-nullable-system-int32)

Sets [RtfParagraphFrame.VerticalPositionTwips](/api/rtf/officeimo-rtf-rtfparagraphframe/): Absolute vertical offset in twips used by \posy or \posnegy.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { VerticalPositionTwips = value };    rtfParagraphFrame.VerticalPositionTwips(value);
```

`public static RtfParagraphFrame WidthTwips(RtfParagraphFrame rtfParagraphFrame, int? value)` [#](#method-widthtwips-officeimo-rtf-rtfparagraphframe-nullable-system-int32)

Sets [RtfParagraphFrame.WidthTwips](/api/rtf/officeimo-rtf-rtfparagraphframe/): Frame width in twips, represented by \absw.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphFrame` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphFrame { WidthTwips = value };    rtfParagraphFrame.WidthTwips(value);
```

`public static RtfParagraphFrame Wrapping(RtfParagraphFrame rtfParagraphFrame, bool? noWrap = null, int? allDirectionsTwips = null, int? horizontalTwips = null, int? verticalTwips = null, bool? overlayText = null, bool? noOverlap = null)` [#](#method-wrapping-officeimo-rtf-rtfparagraphframe-nullable-system-boolean-nullable-system-int32-nullable-system-int32-nullable-system-int32-nullable-system-boolean-nullable-system-boolean)

Sets frame wrapping and overlay behavior.

Parameters

**rtfParagraphFrame OfficeIMO.Rtf.RtfParagraphFrame required**

The instance.

**noWrap bool? = null optional**

The value.

**allDirectionsTwips int? = null optional**

The value.

**horizontalTwips int? = null optional**

The value.

**verticalTwips int? = null optional**

The value.

**overlayText bool? = null optional**

The value.

**noOverlap bool? = null optional**

The value.

Returns

`RtfParagraphFrame` The same instance.

## 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:1574B728F519BD3177BE1F46529D1601C9729F00C9AE414B8028B0D6045E41CB -->
