Halogen bonding with high specificity and directionality in the geometry has proven to be an important type of noncovalent interaction to fabricate and control 2D molecular architectures on surfaces. Herein, we first report how the orientation of the ester substituent for thienophenanthrene derivatives (5,10-DBTD and 5,10-DITD) affects positive charge distribution of halogens by density functional theory, thus determining the formation of an intermolecular halogen bond and different self-assembled patterns by scanning tunneling microscopy. The system presented here mainly includes heterohalogen X···O═C and X···S halogen bonds, H···Br and H···O hydrogen bonds, and I···I interaction, where the directionality and strength of such weak bonds determine the molecular arrangement by varying the halogen substituent. This study provides a detailed understanding of the role of ester orientation, concentration, and solvent effects on the formation of halogen bonds and proves relevant for identification of multiple halogen bonding in supramolecular chemistry.