get_natural_size


Description:

[ Version ( since = "1.18" ) ]
public bool get_natural_size (out int width, out int height)

Retrieves the natural size of the video stream.

The natural size, is the size at which it will be displayed if no scaling is being applied.

NOTE: The sources take into account the potential video rotation applied by the videoflip element that is inside the source, effects applied on the clip which potentially also rotate the element are not taken into account.

Parameters:

this

A VideoSource

width

The natural width of the underlying source

height

The natural height of the underlying source

Returns:

true if the object has a natural size, false otherwise.