Modifica

Condividi tramite


Pane.TOCInFrameset Method

Definition

Creates a table of contents based on the specified document and puts it in a new frame on the left side of the frames page.

public:
 void TOCInFrameset();
public void TOCInFrameset ();
abstract member TOCInFrameset : unit -> unit
Public Sub TOCInFrameset ()

Examples

This example opens a file named "Proposal.doc", creates a frames page based on the file, and adds a frame (on the left side of the page) containing a table of contents for the file.

<span class="label">Documents.Open "C:\Documents\Proposal.doc" 































































































































































































































































ActiveDocument.ActiveWindow.ActivePane.NewFrameset 































































































































































































































































ActiveDocument.ActiveWindow.ActivePane.</span>
<span class="label">TOCInFrameset</span>

Remarks

For more information on creating frames pages, see Creatingframespages#SameCHM.

Applies to