FieldCitation
Overview
FieldCitation is a class in Aspose.Words FOSS for .NET.
Inherits from: Field, IFieldCodeTokenInfoProvider.
Implements the CITATION field.
This class provides 4 methods for working with FieldCitation objects in .NET programs.
Available methods include: GetFieldCode, Remove, Unlink, Update.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: AnotherSourceTag, DisplayResult, End, Format, FormatLanguageId, IsDirty, and 14 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
SourceTag | string | Read/Write | Gets or sets a value that matches the Tag element’s value of the source to insert. |
FormatLanguageId | string | Read/Write | Gets or sets the language ID that is used in conjunction with the specified bibliographic style to format the citation in the document. |
Prefix | string | Read/Write | Gets or sets a prefix that is prepended to the citation. |
Suffix | string | Read/Write | Gets or sets a suffix that is appended to the citation. |
SuppressAuthor | bool | Read/Write | Gets or sets whether the author information is suppressed from the citation. |
SuppressTitle | bool | Read/Write | Gets or sets whether the title information is suppressed from the citation. |
SuppressYear | bool | Read/Write | Gets or sets whether the year information is suppressed from the citation. |
PageNumber | string | Read/Write | Gets or sets a page number associated with the citation. |
VolumeNumber | string | Read/Write | Gets or sets a volume number associated with the citation. |
AnotherSourceTag | string | Read/Write | Gets or sets a value that matches the Tag element’s value of another source to be included in the citation. |
Start | FieldStart | Read | Gets the node that represents the start of the field. |
Separator | FieldSeparator | Read | Gets the node that represents the field separator. |
End | FieldEnd | Read | Gets the node that represents the field end. |
Type | FieldType | Read | Gets the Microsoft Word field type. |
Result | string | Read/Write | Gets or sets text that is between the field separator and field end. |
DisplayResult | string | Read | Gets the text that represents the displayed field result. |
IsLocked | bool | Read/Write | Gets or sets whether the field is locked (should not recalculate its result). |
IsDirty | bool | Read/Write | Gets or sets whether the current result of the field is no longer correct (stale) due to other modifications made to the document. |
Format | FieldFormat | Read | Gets a FieldFormat object that provides typed access to field’s formatting. |
LocaleId | int | Read/Write | Gets or sets the LCID of the field. |
Methods
| Signature | Description |
|---|---|
GetFieldCode() | Returns text between field start and field separator (or field end if there is no separator). |
Remove() | Removes the field from the document. |
Update() | Performs the field update. |
Unlink() | Performs the field unlink. |