Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word.Fields Namespace / PageRefFieldOptions Class
Properties Methods

In This Topic
    PageRefFieldOptions Class Members
    In This Topic

    The following tables list the members exposed by PageRefFieldOptions.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets the bookmark name for a cross-reference.  
    Public PropertyGets or sets a value indicating whether to display the position relative to the source bookmark.

    Default value is false.

    If the PAGEREF field is on the same page as the bookmark, it omits "on page #" and returns "above" or "below" only.

    If the PAGEREF field is not on the same page as the bookmark, the string "on page #" is used.

     
    Public PropertyGets or sets a value indicating whether to create a hyperlink to the bookmarked paragraph.

    The default value is false.

     
    Public PropertyGets or sets the number format.
    • Specifies the requisite numeric positions to display in the result. If the result does not include a digit in that position, 0 is displayed.
    • Specifies the requisite numeric positions to display in the result. If the result does not include a digit in that position, a space is displayed.
    • Drops digits to the left of the x placeholder. If the placeholder is to the right of the decimal point, the result is rounded to that place.
    • Indicates the radix-point position.
    • Separates groups of three digits.
    • Prepends a minus sign to a negative result, or prepends a space if the result is positive or 0.
    • Prepends a plus sign to a positive result, a minus sign to a negative result, or a space if the result is 0.
    • Includes the specified character in the result at that position.
    • Includes text in the result.
    • Includes, in Arabic numerals, the number of the preceding item numbered as a caption or resulting from a SEQ field. Numbered-item shall be the same name as identifier in that SEQ field.
    • Specifies different sets of picture items for positive and negative results. A zero value uses the positive picture.
    • Specifies different sets of picture items for positive, negative, and zero results.

    The default value is a null reference (Nothing in Visual Basic).

    (Inherited from GrapeCity.Documents.Word.Fields.FieldFormatOptions)
    Public PropertyGets or sets the number formatting style.

    Default value is System.Globalization.NumberStyles.None.

    (Inherited from GrapeCity.Documents.Word.Fields.FieldFormatOptions)
    Public PropertyGets or sets the result formatting rule.

    Default value is ResultFormat.None.

    (Inherited from GrapeCity.Documents.Word.Fields.FieldFormatOptions)
    Public PropertyGets or sets the string formatting style.

    Default value is StringStyle.None.

    (Inherited from GrapeCity.Documents.Word.Fields.FieldFormatOptions)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded.  (Inherited from GrapeCity.Documents.Word.Fields.FieldFormatOptions)
    Public MethodOverloaded. Overridden.   
    Public MethodReturns a string that represents the current object. (Inherited from GrapeCity.Documents.Word.Fields.FieldFormatOptions)
    Top
    See Also