camera fov and aspectraio

I set fov and aspect ration use this code

GEngine->GetFirstLocalPlayerController(GetWorld())->PlayerCameraManager->SetFOV(fov_horiz);
		
		for (TActorIterator<ACameraActor> ActorItr(GetWorld()); ActorItr; ++ActorItr)
		{
			ActorItr->GetCameraComponent()->AspectRatio = fov_horiz/fov_vert;
			ActorItr->MarkComponentsRenderStateDirty();
			ActorItr->MarkPackageDirty();
		}

This code works, but if the aspect ratio are not the same as the aspect ratio of the image is displayed with black bars at the top and bottom or right and to the left, there is an opportunity to stretch it to full screen.