[]
        
(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
object
FieldCode
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

Field

Gets the owner ComplexField.

public ComplexField Field { get; }

Property Value

ComplexField

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.