To Attribute (Line)(VML)

This topic describes VML, a feature that is deprecated as of Windows Internet Explorer 9. Webpages and applications that rely on VML should be migrated to SVG or other widely supported standards.

Note

As of December 2011, this topic has been archived. As a result, it is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.

 

Defines the ending point of a line. Read/write. VgVector2D.

Applies To

Line

Tag Syntax

<v: element to=" expression ">

Script Syntax

element .to="expression"

expression=element.to

Remarks

Defines the ending point of the line in the coordinate space of the parent element.If the parent is not a VML element, the default unit is a pixel (but in, cm, mm, pt, pc may also be specified). Default is 10,10.

VML Standard Attribute

Example

The line ends at a location 100 points down and 100 points to the right of the top left corner of the parent space.

   <v:line id="myline"
   from="10pt,10pt" to="100pt,100pt">
   </v:line>