Src Attribute (VMLFrame)(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 source of data for the frame. Read/write. String.
Applies To
Tag Syntax
<v: element src=" expression ">
Script Syntax
element .src="expression"
expression=element.src
Remarks
The Src attribute can involve the following syntaxes:
URL to external file. The file must be an XML file with the following format:
<xml xmlns:v = "urn:schemas-microsoft-com:vml"> . . . </xml>
Inside the file you must have one or more VML shapes with valid IDs that can be referenced by using this syntax:
filename#shapename
In the following reference, external files have the .vml extension, but any extension can be used:
external.vml#image01
You can reference a shape within the same file by using the following syntax:
#shapename
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='top:160pt; left:100pt; width:50pt; height:50pt'>
</v:vmlframe>
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for