The KTN2907 is manufactured in a plastic TO-92 case. When looking at the flat side with the leads pointed downward, the three leads emerging from the transistor are, from left to right, the emitter, base, and collector leads. Here is an image showing the pin diagram of this transistor.
Complementary NPN transistor
The complementary NPN transistor to the KTN2907 is the KTN2222.
SMD Version of KTN2907 transistor
The 2SB710A (SOT-23), FMMT2907 (SOT-23), FMMT2907R (SOT-23), KN2907S (SOT-23), KTN2907S (SOT-23), KTN2907U (SOT-323), MMBT200 (SOT-23), PMBT2907 (SOT-23) and PMST2907 (SOT-23) is the SMD version of the KTN2907 transistor. These transistors are of the same type, have similar parameters and are designed for surface mounting.