The form factor of the transition ργ*→π0is investigated by analyzing the γγ*→π0transition in the framework of the light-cone local duality quantum chromodynamics sum rules. Both finite- and zero-width forms for the low-energy physical absorptive part of the γγ*→π0transition are considered. The numerical results for the transition form factor Fρπ(Q2) in the asymptotic form and the CZ one of the pion distribution amplitude are obtained respectively, the difference between the finite- and zero-width form is not big but still distinguishable. It is found that the results for the form factor Fρπ(Q2) from CZ, asymptotic and the flat pion DAs are compatible with the predictions of perturbative QCD. Our results will be helpful to distinguish the shape of the pion DA of twist-two, when the concrete information of the experimental data for the transition ργ*→π0are provided.