ASPOSE home

com.aspose.words
Class Field

java.lang.Object
    extended by com.aspose.words.Field

public class Field
extends java.lang.Object

[The properties and methods of this class are subject to change.]

Represents a Microsoft Word field.

At the moment objects of this class are only returned by MergeFieldEventArgsBase.Field to allow using DocumentBuilder.moveToField(com.aspose.words.Field, boolean) to move to a merge field quickly in a custom mail merge event handler.

There will be more methods and properties added to the Field class later.


Property Getters/Setters Summary
intgetType()
           Gets the Microsoft Word field type. The value of the property is FieldType integer constant.
 
Method Summary
voidremove()
           Removes the field from the document.
 

Property Getters/Setters Detail

getType

public int getType()
Gets the Microsoft Word field type. The value of the property is FieldType integer constant.

Method Detail

remove

public void remove()
           throws java.lang.Exception
Removes the field from the document.

See Also:
          Wiki - the home page for the Aspose.Words Product Documentation that includes Programmer's Guide, Knowledge Base and other articles.
          Aspose.Words Support Forum - our preferred method of support.
          Aspose.Words Team - contact Aspose.Words Team.


ASPOSE home