AutoSizePicture class

Office 2013 and later

Automatically Size. When the object is serialized out as xml, its qualified name is xvml:AutoPict.

Namespace:  DocumentFormat.OpenXml.Vml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class AutoSizePicture : OpenXmlLeafTextElement

[ISO/IEC 29500-1 1st Edition]

AutoPict (Automatically Size)

This element specifies whether the object's aspect ratio is locked when rendered in different views by the application. If this element is specified without a value, it is assumed to be true. This is a general-use element for objects that use an image representation, denoted by the Pict value of ST_ObjectType. These objects are: embedded objects, embedded controls, cameras and signature lines.


<x:ClientData> …  <x:AutoPict>True</x:AutoPict>

end example]

The possible values for this element are defined by the ST_TrueFalseBlank simple type (§

Parent Elements

ClientData (§

[Note: The W3C XML Schema definition of this element’s content model (ST_TrueFalseBlank) is located in §A.7.9. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.