Polyimides were prepared from pyromellitic dianhydride, 4,4'-bis[2-(4-aminophenyl)hexafluoroprop-2-yl]diphenyl ether and 4,4'-diamodiphenyl ether (PMDA-BDAF-ODA) and used for liquid crystal alignment using linearly polarized UV exposure. The alignment properties of a LC on the polyimide films were found to depend on the fluorine content in the PMDA-BDAF-ODA alignment layer and on the UV exposure time. Pretilt angles were obtained in the range 0degrees to 90degrees dependent upon the fluorine content in the polyimide film and the UV exposure time. These effects seem to be closely related to the surface energy of the photo-alignment layer.