STK Graphics PrimitivesSend comments on this topic.
StartRecording Method (IAgStkGraphicsCameraVideoRecording)
See Also
WmvFilename
The filename of the WMV file.
VideoBitRate
A higher value will create larger files with better visual quality than a lower value that will create smaller files with poorer visual quality. A value of 5000 is a good starting point to judge the file size to visual quality trade-off.
VideoFrameRate
The frame rate of the video in frames per second. A value of 30 is typical.
Windows





Windows & Linux

Description

Starts recording a file in the WMV format at the specified bit and frame rate.

Syntax

[Visual Basic .NET]
Public Sub StartRecording( _
    ByVal WmvFilename As String, _
    ByVal VideoBitRate As Integer, _
    ByVal VideoFrameRate As Integer _
)
[C#]
public void StartRecording(
    string WmvFilename,
    int VideoBitRate,
    int VideoFrameRate
);
[Managed C++]
public: void StartRecording(
    String __gc ^ WmvFilename,
    int VideoBitRate,
    int VideoFrameRate
);
[Unmanaged C++]
public: HRESULT StartRecording(
    BSTR WmvFilename,
    int VideoBitRate,
    int VideoFrameRate
);
[Java]
public void startRecording(
    String WmvFilename,
    Integer VideoBitRate,
    Integer VideoFrameRate
);
[Python - STK API ]
def StartRecording(self, WmvFilename:str, VideoBitRate:int, VideoFrameRate:int) -> None:

Parameters

WmvFilename
The filename of the WMV file.
VideoBitRate
A higher value will create larger files with better visual quality than a lower value that will create smaller files with poorer visual quality. A value of 5000 is a good starting point to judge the file size to visual quality trade-off.
VideoFrameRate
The frame rate of the video in frames per second. A value of 30 is typical.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.