Non-Visual Picture Drawing Properties.When the object is serialized out as xml, its qualified name is p:cNvPicPr.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
The following table lists the possible child types:
[ISO/IEC 29500-1 1st Edition]
184.108.40.206 cNvPicPr (Non-Visual Picture Drawing Properties)
This element specifies the non-visual properties for the picture canvas. These properties are to be used by the generating application to determine how certain properties are to be changed for the picture object in question.
[Example: Consider the following DrawingML.
<p:pic> … <p:nvPicPr> <p:cNvPr id="4" name="Lilly_by_Lisher.jpg"/> <p:cNvPicPr> <a:picLocks noChangeAspect="1"/> </p:cNvPicPr> <p:nvPr/> </p:nvPicPr> … </p:pic>
extLst (Extension List)
picLocks (Picture Locks)
preferRelativeResize (Relative Resize Preferred)
Specifies if the user interface should show the resizing of the picture based on the picture's current size or its original size. If this attribute is set to true, then scaling is relative to the original picture size as opposed to the current picture size.
[Example: Consider the case where a picture has been resized within a document and is now 50% of the originally inserted picture size. Now if the user chooses to make a later adjustment to the size of this picture within the generating application, then the value of this attribute should be checked.
If this attribute is set to true then a value of 50% is shown. Similarly, if this attribute is set to false, then a value of 100% should be shown because the picture has not yet been resized from its current (smaller) size. end example]
The possible values for this attribute are defined by the W3C XML Schema boolean datatype.
[Note: The W3C XML Schema definition of this element’s content model (CT_NonVisualPictureProperties) is located in §A.4.1. end note]
© ISO/IEC29500: 2008.