Section 296(1) in The Code of Criminal Procedure, 1973
(1)The evidence of any person whose evidence is of a formal character may be given by affidavit and may, subject to all just exceptions, be read in evidence in any inquiry, trial or other proceeding under this Code.