Interface IWField
Represents a field.
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.NET.dll
Syntax
public interface IWField : IWTextRange, IParagraphItem, IEntity
Properties
FieldCode
Gets or sets the field code.
Declaration
string FieldCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The field code information used to evaluate the resultant value of the field. |
FieldType
Gets or sets field type.
Declaration
FieldType FieldType { get; set; }
Property Value
Type | Description |
---|---|
FieldType | the FieldType represents the type of the field. |
TextFormat
Gets or sets the text format field switch that defines how to display field results.
Declaration
TextFormat TextFormat { get; set; }
Property Value
Type |
---|
TextFormat |
Methods
Unlink()
Replaces the field with its most recent result.
Declaration
void Unlink()
Remarks
When you unlink a field, its current result is converted to text or a graphic and can no longer be updated automatically. Note that the fields such as XE (Index Entry) fields and SEQ (Sequence) fields cannot be unlinked.
Update()
Updates the field result for this WField.
Declaration
void Update()
Remarks
Essential DocIO currently support the updating of field result for the following field types only:
Also while updating of NUMPAGES field and Cross Reference field with Page number and Paragraph number options are not supported in Silverlight, WinRT, Universal, Windows Phone and Xamarin applications.
Currently group shapes, drawing canvas, and table auto resizing are not supported in Word to PDF lay outing, and this may lead to update incorrect page number and total number of pages.