As a child of the Object element
Represents an image to be imported.
<Image backgroundImage="true">
<File path="c:\wallpaper.png" />
</Image>
Element base | ImageContent |
Namespace | http://schemas.microsoft.com/office/onenote/2004/import |
Schema name | SimpleImport |
Element | Description |
---|---|
Object | Represents an object to be added, updated, or deleted from the specified page. |
None.
However, the element base, ImageContent, does contain child elements.
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
backgroundImage | xsd:boolean | optional | Represents whether the image is a background image. |
|
height | PositiveDecimal | optional | Represents the height of the image in points. | |
width | PositiveDecimal | optional | Represents the width of the image in points. |
<xsd:element name="Image">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ImageContent">
<xsd:attribute name="backgroundImage" type="xsd:boolean"
default="false"/>
<!-- Width and Height are also expressed in points. -->
<xsd:attribute name="width" type="PositiveDecimal"/>
<xsd:attribute name="height" type="PositiveDecimal"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
As a child of the Outline element
Represents an image to be imported as part of an outline.
<Image align="left">
<File path="c:\image.png" />
</Image>
Element base | ImageContent |
Namespace | http://schemas.microsoft.com/office/onenote/2004/import |
Schema name | SimpleImport |
Element | Description |
---|---|
Outline | Represents an outline to be imported. . |
None.
However, the element base, ImageContent, does contain child elements.
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
align | xsd:string | optional | Represents whether the image is left, right, or center aligned. |
|
<xsd:element name="Image">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ImageContent">
<xsd:attribute name="align">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="left"/>
<xsd:enumeration value="center"/>
<xsd:enumeration value="right"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>