PreferRelative Attribute

HTML (DHTML)

PreferRelative Attribute

Internet Development Index

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

Applies To

Shape

Tag Syntax

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

Remarks

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

Example

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

   <v:rect id=myrect fillcolor="red" preferrelative="False"
   style="position:relative;top:1;left:1;width:20;height:20">
   </v:rect>