SpecialTextAttr Method

[Top]  [Chapter]  [Previous]  [Next]

Declaration

IWPCharacterAttr SpecialTextAttr([In] SpecialTextSel Select);

Description

The method SpecialTextAttr() makes it possible to modify the appearance of hyperlinks, fields and other text. It provides you with a reference to the interface IWPCharacterAttr to change several properties. The parameter "Select" may have the following values:

 

0 : SpecialTextSel.wpHiddenText - hidden text

1 : SpecialTextSel.wpFootnote - footnote symbols

2 : SpecialTextSel.wpInsertpoints - the start and end markers of merge fields

3 : SpecialTextSel.wpHyperlink - the start and end marker of hyperlinks

4 : SpecialTextSel.wpSPANStyle - the start and end marker of inline SPAN styles

5 : SpecialTextSel.wpAutomaticText - merged text within fields

6 : SpecialTextSel.wpProtectedText - the text which has the protected property

7 : SpecialTextSel.wpBookmarkedText - the text within bookmark objects

8 : SpecialTextSel.wpInsertedText - not used

9 : SpecialTextSel.wpDeletedText - not used

10: SpecialTextSel.wpWordHighlight - highlighted words

11: SpecialTextSel.wpFieldTextObjects - single objects, such as page numbers.

 

Example:

WPDLLInt1.SpecialTextAttr(SpecialTextSel.wpInsertpoints).Hidden = true;

WPDLLInt1.SpecialTextAttr(SpecialTextSel.wpInsertpoints).CodeTextColor = 0;


[idh_iwpmemo_specialtextattr.htm]    Copyright © 2007 by WPCubed GmbH