Class
WordFieldScope
OfficeIMO.Word
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.
Returned or exposed by 4
- Method WordFieldScope.LockField
- Method WordFieldScope.Paragraph
- Method WordFieldScope.Text
- Method WordFieldScope.UpdateField
Accepted by parameters 4
- Method WordDocumentScope.Field
- Method WordFooterScope.Field
- Method WordHeaderScope.Field
- Method WordParagraphScope.Field
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
- The value; true when omitted.
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>
- Configures the value.
public WordFieldScope Text(string value) #Sets WordField.Text: Gets or sets the display text of the field.
Parameters
- value string
- The value.
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
- The value; true when omitted.