Adjective
-
running or extending in the direction of the length of a thing
"the lengthwise dimension"
Adverb
-
in the direction of the length
"He cut the paper lengthwise"