Provides access to members that conrtrol the 3D viewer.
| Description | ||
|---|---|---|
![]() |
Camera | The viewer's camera. |
![]() |
Caption | The viewer's caption. |
![]() |
ClearGesture | Clears the last gesture. |
![]() |
DrawToMetafile | Draws the contents of the viewer to a device. |
![]() |
FullScreenEnabled | Indicates if key [F11] is enabled to toggle full screen drawing. |
![]() |
GestureEnabled | Indicates if gesturing is enabled. |
![]() |
GestureSensitivity | The gesture sensitivity as indicated by number of pixels. |
![]() |
GetScreenShot | Saves the content of the viewer and any windows superimposed on the scene viewer as an image. |
![]() |
GetSnapshot | Saves the content of the viewer as an image. |
![]() |
hDC | The associated device context. |
![]() |
hWnd | The associated window handle. |
![]() |
IsFullScreen | Indicates if full screen is the current drawing mode. |
![]() |
OverrideDefaultHandler | Supersedes the default event handler. |
![]() |
Redraw | Redraws the viewer. |
![]() |
SetFullScreen | Full screen drawing if the argument is TRUE, otherwise normal window drawing. |
This interface could be seen as a newer version or replacement of ISceneViewer interface. It keeps the basic members of the ISceneViewer interface and added some new members, with the most notable ones being those for full screen control. See the sample VBA code for toggling between normal window and full screen in ArcScene.
'Toggling between normal scene viewer size and full screen:
Dim pDoc As ISxDocument: Set pDoc = ThisDocument
Dim pScene As IScene: Set pScene = pDoc.Scene
Dim pSG As ISceneGraph: Set pSG = pScene.SceneGraph
Dim pV As I3DViewer: Set pV = pSG.ActiveViewer
If pV.IsFullScreen Then
pV.SetFullScreen False
Else
pV.SetFullScreen True
End If