[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ComplexField

Class ComplexField

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

Represents a complex field element in a body content.

public class ComplexField : ContentRange, IBrowsable<ComplexField>
Inheritance
object
ComplexField
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

BeginChar

Gets this complex field's start character.

public FieldChar BeginChar { get; }

Property Value

FieldChar

Code

Gets or sets this complex field's code string representation.

public string Code { get; set; }

Property Value

string

CodeFields

Gets FieldCode collection of this complex field.

public FieldCodeCollection CodeFields { get; }

Property Value

FieldCodeCollection

CustomData

Gets or sets custom field data that is associated with this field. This property can be used as desired to store additional application-defined data with the field.

public string CustomData { get; set; }

Property Value

string

EndChar

Gets this complex field's end character.

public FieldChar EndChar { get; }

Property Value

FieldChar

IsDirty

Gets or sets a value indicating whether this field has been flagged by an application to indicate that its current results are no longer correct (stale) due to other modifications made to the document, and these contents should be updated before they are displayed if this functionality is supported by the next processing application.

public bool IsDirty { get; set; }

Property Value

bool

Locked

Get or sets a value indicating whether this field shall not have its field result recalculated, even if an application attempts to recalculate the results of all fields in the document or a recalculation is explicitly requested.

public bool Locked { get; set; }

Property Value

bool

Next

Gets the next complex field.

public ComplexField Next { get; }

Property Value

ComplexField

Previous

Gets the previous complex field.

public ComplexField Previous { get; }

Property Value

ComplexField

SeparatorChar

Gets this complex field's separator (code|result) character.

public FieldChar SeparatorChar { get; }

Property Value

FieldChar

Methods

Delete()

Deletes this complex field from the parent Body.

public override void Delete()

GetCodeRange()

Gets this complex field's code range.

public Range GetCodeRange()

Returns

Range

GetRange()

Initializes and returns a Range in the body occuped by this complex field.

public override Range GetRange()

Returns

Range

The newly created Range.

GetResultRange()

Gets this complex field's result range.

public Range GetResultRange()

Returns

Range