VML PreferRelative Attribute

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.

Determines whether the original size of an object is saved after reformatting. Read/write. VgTriState.

Applies To


Tag Syntax

<v: element o:preferrelative=" expression ">


The default is False. If True, the original size of the object will be stored and all resizing will be based on a percentage of that original size. Otherwise, each resizing will reset the scale to 100%.

Microsoft Office Extensions Attribute


If the shape is resized, the original size will not be stored.

   <v:rect id=myrect fillcolor="red" preferrelative="False"



Send comments about this topic to Microsoft

Build date: 2/7/2012

Community Additions