vbnet line length

I'm new in the vbnet. How can I change the length of lines in a sketch?

Thanks

SolidworksApi macros