NoResizeAllowed Class
Frame Cannot Be Resized.When the object is serialized out as xml, its qualified name is w:noResizeAllowed.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffOnlyType
DocumentFormat.OpenXml.Wordprocessing.NoResizeAllowed
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class NoResizeAllowed _
Inherits OnOffOnlyType
'Usage
Dim instance As NoResizeAllowed
public class NoResizeAllowed : OnOffOnlyType
Remarks
[ISO/IEC 29500-1 1st Edition]
17.15.2.32 noResizeAllowed (Frame Cannot Be Resized)
This element specifies whether or not the size of the current frame shall be modifiable (i.e. whether the frame can be resized) when the contents of this document are saved as HTML and displayed in a web browser. When this element is set, the size of the frame shall be set to its current values. This property is analogous to the noresize attribute on the frame element in HTML.
If this element is omitted, the size of the frame shall be modifiable (the frame can be resized when it is displayed).
[Example: Consider a WordprocessingML document which serves as the frameset container for a frameset consisting of the following three frames:
The frameset properties for this document are specified by the following WordprocessingML within the web page settings:
<w:frameset> … <w:frameset> … <w:frame> <w:name w:val="Frame 2" /> <w:noResizeAllowed w:val="true" /> </w:frame> … </w:frameset> </w:frameset>
The noResizeAllowed element has a val attribute of true, which specifies that the size of the frame specified by Frame 2 must not be modifiable (the two borders which intersect that frame cannot be resized). end example]
Parent Elements |
---|
frame (§17.15.2.16) |
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.