[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FieldCode

Class FieldCode

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a field code within a complex field in a document.

public class FieldCode : Text, IBrowsable<Text>
Inheritance
FieldCode
Implements
Inherited Members

Properties

Field

Gets the owner ComplexField.

public ComplexField Field { get; }

Property Value

ComplexField

Value

Gets or sets the text content value.

public override string Value { get; set; }

Property Value

string

Methods

Delete()

Deletes the content from the parent Body. If it's the only instruction in the parent complex field then the whole field will be deleted.

public override void Delete()

Split(int)

Overridden. Throws an exception because splitting of a complex field code is not supported.

public override Text Split(int position)

Parameters

position int

Returns

Text

Exceptions

ContentNotSplittableException

Throws when this method is called.