STK X Send comments on this topic.
PptPreloadMode Property (AgUiAxVOCntrl)
See Also  Example





Description

Sets/gets special mode for loading a scenario into a Globe control when it is hosted in a Powerpoint slide. When set, the loaded scenario is kept around as the user navigates back and forth between slides in a Powerpoint presentation.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property PptPreloadMode() As Boolean

[C#]
public bool PptPreloadMode {get; set;}

[Managed C++]
public: __property bool get_PptPreloadMode();
public: __property void set_PptPreloadMode(
bool
);

[Unmanaged C++]
public: HRESULT get_PptPreloadMode(
VARIANT_BOOL * pRetVal
);
public: HRESULT put_PptPreloadMode(
VARIANT_BOOL NewPptPreloadMode
);

[Java]
public bool getPptPreloadMode();public void setPptPreloadMode(
bool
);

Remarks

This property should only be set (if desired) when a Globe control is hosted in a Powerpoint presentation. It should never be set when a Globe control is hosted in any other application.

Example

[Visual Basic .NET] Copy Code
AxAgUiAxVOCntrl1.PptPreloadMode = True
AxAgUiAxVOCntrl1.Application.ExecuteCommand
        ("Load / Scenario "/net/eng1/sheila/stkData/stkDemo.sc"")

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1