Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordFieldScope

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
sealed

Edits one WordField: its fluent methods and keywords, each returning this scope.

Inheritance

  • object
  • WordFieldScope

Usage

Explore 8 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.

Accepted by parameters 4

Methods

public WordFieldScope LockField(bool value = true) #

Sets WordField.LockField: Gets or sets a value indicating whether the field is locked.

Parameters

value bool = true optional
The value; true when omitted.

Returns

WordFieldScope The same scope.
public WordFieldScope Paragraph(Action<WordParagraph> configure) #

Configures WordField.Paragraph in place: Gets the containing paragraph handle for continuing paragraph authoring.

Parameters

configure System.Action<OfficeIMO.Word.WordParagraph> required
Configures the value.

Returns

WordFieldScope The same scope.
public WordFieldScope Text(string value) #

Sets WordField.Text: Gets or sets the display text of the field.

Parameters

value string required
The value.

Returns

WordFieldScope The same scope.
public WordFieldScope UpdateField(bool value = true) #

Sets WordField.UpdateField: Gets or sets a value indicating whether the field is marked dirty.

Parameters

value bool = true optional
The value; true when omitted.

Returns

WordFieldScope The same scope.

Properties

public WordField Model { get; } #

The WordField this scope edits, for plain C# inside a lambda.