IDIDocument.AddViewport Method

The AddViewport method allows adding a Viewport object to the Viewports array of the page specified.

 

Syntax

ActiveX:

System.Integer  AddViewport(System.Integer PageNumber, IViewport viewport)

 

Parameters

PageNumber

Number of the page where the viewport will be added Page indexes start at 1.

viewport

Viewport object to add.

 

Return Value

True if the Viewport was added successfully, False otherwise.

 

Example

Please check this link.

 

Remarks

 

Member of CDIntfEx.IDIDocument.