Src Attribute

Internet Development Index

Defines the source of data for the frame. Read/write String.

Applies To

VMLFrame

Tag Syntax

<v:element src="expression">

Script Syntax

element.src="expression"

expression=element.src

Remarks

The Src attribute can involve the following syntaxes:

If Clip is False, the shape will scale to fit the frame. If True, any parts of the shape that are outside the frame will not be displayed.

Note that Origin and Size won't be used unless Clip is True.

VML Standard Attribute

Example

The image defined in the external file will be clipped.

   <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>