SetDefaultText Method (BookmarksTree)
In This Topic
If the document do not contains outlines, the control will create a generic one.
This method permits to change the default text used by the control in the produced outlines structure.
Syntax
'Declaration
Public Sub SetDefaultText( _
ByVal As Integer, _
ByVal As String _
)
public void SetDefaultText(
int ,
string
)
public procedure SetDefaultText(
: Integer;
: String
);
public function SetDefaultText(
: int,
: String
);
public: void SetDefaultText(
int ,
string*
)
public:
void SetDefaultText(
int ,
String^
)
Parameters
- StringID
- The ID of the internal string to change: 0 for the default root name or 1 for the default nodes prefix.
- Text
- The new text to apply.
See Also