Based on the formed model of nanofilm crystal structures, changes of optical properties due to the presence of borders for the case of symmetrical ultrathin films are theoretically investigated in this paper. Influence of five border parameters on the occurrence of localized exciton states is examined, as well as their relation with the effects of discretization and selection of resonant absorption of present electromagnetic radiation. Used combined analytical-numerical calculation to find the allowed energy states of excitons and their spatial distribution (per layers) along the axis perpendicular to surface planes. We determined permittivity for the observed models of these ultrathin dielectric films and explored the influence of boundary parameters on the occurrence of discrete and selective absorption.