# PlaceObjectsVerb complex Type

Defines a command to add, update, or delete the specified objects on the specified page.

The PlaceObjectsVerb must contain at least one Object element. If you specify a page that does not exist, the import for that page fails.

The PlaceObjectsVerb has two required attributes: the path to the page on which you want import objects, and the guid assigned to that page.

## Type Information

Namespace | http://schemas.microsoft.com/office/onenote/2004/import
Schema name | SimpleImport

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
Object | Represents an object to be added, updated, or deleted from the specified page.

### Attributes

Attribute | Type | Required | Description
--- | --- | --- | ---
pageGUID | GUID | optional | Represents the GUID of the specified page.
pagePath | xsd:string | required | Represents the path to the specified page

## Definition

    <xsd:complexType name="PlaceObjectsVerb">
      <xsd:annotation>
        <xsd:documentation xml:lang="en">
          Places top level page objecs on the page, or replaces them if they
          already exist.
        </xsd:documentation>
      </xsd:annotation>
      <xsd:sequence>
        <xsd:element name="Object" maxOccurs="unbounded">
          <xsd:complexType>
            <xsd:choice>
              <xsd:element name="Delete"/>
              <xsd:sequence>
                <xsd:element name="Position">
                  <xsd:complexType>
                    <!-- X and Y coordinates are represented as points. -->
                    <xsd:attribute name="x" type="xsd:decimal" use="required"/>
                    <xsd:attribute name="y" type="xsd:decimal" use="required"/>
                  </xsd:complexType>
                </xsd:element>
                <xsd:choice>
                  <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>
                  <xsd:element name="Ink">
                    <xsd:complexType>
                      <xsd:complexContent>
                        <xsd:extension base="InkContent">
                          <xsd:attribute name="width" type="PositiveDecimal"/>
                          <xsd:attribute name="height" type="PositiveDecimal"/>
                        </xsd:extension>
                      </xsd:complexContent>
                    </xsd:complexType>
                  </xsd:element>
                  <xsd:element name="Outline">
                    <xsd:complexType>
                      <xsd:sequence>
                        <xsd:choice maxOccurs="unbounded">
                          <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>
                          <xsd:element name="Ink" type="InkContent"/>
                          <xsd:element name="Html" type="HtmlContent"/>
                        </xsd:choice>
                      </xsd:sequence>
                      <xsd:attribute name="width" type="PositiveDecimal"/>
                    </xsd:complexType>
                  </xsd:element>
                </xsd:choice>
              </xsd:sequence>
            </xsd:choice>
            <xsd:attribute name="guid" type="GUID" use="required"/>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
      <xsd:attribute name="pagePath" type="xsd:string" use="required"/>
      <xsd:attribute name="pageGuid" type="GUID" use="required"/>
    </xsd:complexType>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp