Origin Attribute

HTML (DHTML)

Origin Attribute

Internet Development Index

Defines the origin of the clipping region of the frame. Read/write VgVector2D.

Applies To

VMLFrame

Tag Syntax

<v:element origin="expression">

Script Syntax

element.origin="expression"

expression=element.origin

Remarks

The default value is 0,0. Note that Origin only works if Clip is True. In this attribute, the origin is defined as the upper left corner of the frame.

VML Standard Attribute

Example

The origin of the clipping region is 100pt,100pt.

   <v:vmlframe id="frame01" clip="True"
   origin="100pt,100pt" size="50pt,50pt"
   src="external.vml#shape01"
   style='position:relative;
   top:160pt; left:100pt; width:50pt; height:50pt'
   </v:vmlframe>