Yes, i agree with MELOUKI Mohamed comment. Spinning speed (if used spin coating),spinning time, annealing time and annealing temperature are the well known parameters those are affect the film properties electrical as well as optical.
Thank you for your suggestions. In addition to what you said, we can control it by changing nozzle-substrate distance, nature of precursor solution, and solution flow rate.