You helped me a lot pointing me toward the properties of the video that are under The Project class. I didn’t see it.
ProjectVideoProperties Class is what I needed.
The problem was that when I added the video to the project it gets a 1080p resolution regardless of the video resolution.
I found this method that fixed the issue
Boolean MatchProjectSettingsWithMedia
(
Media media
)
Vegas.Project.Video.MatchProjectSettingsWithMedia(media);
Thank you so much for your help. It’s priceless 🙂