Step 1: Understanding the Concept
If the line meets the axes at \((a,0)\) and \((0,b)\), its midpoint between the axes is \(\left(\dfrac a2,\dfrac b2\right)\).
Step 2: Find the intercepts
\(\dfrac a2=2\) and \(\dfrac b2=7\), so \(a=4\) and \(b=14\).
Step 3: Intercept form
\(\dfrac x4+\dfrac y{14}=1\). Multiplying by 28 gives \(7x+2y=28\).
Step 4: Compare the options
This matches the third option.
Final Answer:
The equation of the line is 7x + 2y = 28.
\[ \boxed{\text{(C) }7x+2y=28} \]