File: vixmlelemPageScale.htm

package info (click to toggle)
office2003-schemas 1.0%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 42,304 kB
  • sloc: javascript: 2,429; makefile: 29
file content (39 lines) | stat: -rw-r--r-- 4,980 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01085571"><META NAME="lcid" CONTENT="1033"><title>PageScale Element</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><h1>PageScale Element</h1><p>
			<p>Specifies the value of the default page unit in the current drawing scale. The drawing scale for the page is the ratio of the page unit in the <b class="bterm">PageScale</b> element to the drawing unit shown in the <a href="vixmlelemDrawingScale.htm" id="HV01085391" lcid=" "><b class="bterm">DrawingScale</b></a> element.</p>
		</p><h2>Syntax</h2><pre><code>
&lt;PageScale&gt;
    [Unit]
    [F]
    [Err]&gt;
&lt;/PageScale&gt;
</code></pre><h2>Attributes</h2><p>
			<b class="bterm">Unit</b>
		</p><p>Optional string. Represents a unit of measure. The default is NUM. For details about NUM, see <a href="vixmlconUnitsOfMeasure.htm" id="HV83150825" lcid=" ">Units of measure</a>.</p><p><b class="bterm">F</b></p><p>Optional string. Represents the element's formula. This attribute can contain one of the following strings: "<i>someFormula</i>" if the formula exists locally, "No Formula" if the formula is locally deleted or blocked, or "Inh" if the formula is inherited.</p><p>If the attribute is not present, the element's formula is a simple constant, for example, &lt;<i>element</i>&gt;5&lt;<i>/element</i>&gt;.
          </p><p><b class="bterm">Err</b></p><p>Optional string. Indicates that the formula evaluates to an error. The value of <b class="bterm">Err</b> is the current value (an error message string); the value of the element is the last valid value.</p><h2>Element properties</h2><table><tr><th>Property</th><th>Value</th></tr>
			<tr><td>Name</td><td>PageScale</td></tr>
			<tr><td>Minimum Occurrences</td><td>0</td></tr>
			<tr><td>Maximum Occurrences</td><td>1</td></tr>
		</table><h2>Element information</h2><p><b class="bterm">Parent elements</b></p><p><a href="vixmlelemPageProps.htm" id="HV01085568" lcid=""><b class="bterm">PageProps</b></a></p><p><b class="bterm">Child elements</b></p><p>None</p><h2>Remarks</h2><p>
			<p>The default unit for the <b class="bterm">PageScale</b> element is NUM. In practice, however, you should always specify the default page unit as an explicit unit, so a <b class="bterm">Unit</b> attribute is always saved out. For example, if the default page unit is inches, <code>&lt;PageScale Unit="IN_F"&gt;</code> will be saved in the DatadiagramML file.</p>
			<p>The <b class="bterm">PageScale</b> element is relevant only when contained in a <b class="bterm"><a href="vixmlelemPageSheet.htm" id="HV01085573" lcid=" ">PageSheet</a></b> element. It is ignored when contained in a <a href="vixmlelemDocumentSheet.htm" id="HV01085388" lcid=" "><b class="bterm">DocumentSheet</b></a>, <b class="bterm"><a href="vixmlelemShape.htm" id="HV01085631" lcid=" ">Shape</a></b>, or <a href="vixmlelemStyleSheet.htm" id="HV01085684" lcid=" "><b class="bterm">StyleSheet</b></a> element.</p>
		</p><h2>Example</h2><p>
			<p>In the following example, the drawing scale has been specified as 3/32" = 1'0". The value in the <b class="bterm">PageScale</b> element is 0.09375 inches (or 3/32") and the value in the <a href="vixmlelemDrawingScale.htm" id="HV01085391" lcid=" "><b class="bterm">DrawingScale</b></a> element is 12 inches (or 1'0").</p>
			<p>Also, the <b class="bterm">PageScale</b> element has a <b class="bterm">Unit</b> attribute of "IN_F". Any element on this page that has a <b class="bterm">Unit</b> attribute of "DP" (or no <b class="bterm">Unit</b> attribute specified, but a default <b class="bterm">Unit</b> attribute of "DP") will use "IN_F" for its <b class="bterm">Unit</b> attribute.</p>
			<p>The example has been excerpted for clarity.</p><pre><code>&lt;PageProps&gt;
  &lt;PageScale Unit="IN_F"&gt;0.09375&lt;/PageScale&gt; 
  &lt;DrawingScale Unit="F_I"&gt;12&lt;/DrawingScale&gt; 
  &lt;DrawingSizeType&gt;0&lt;/DrawingSizeType&gt; 
  &lt;DrawingScaleType&gt;1&lt;/DrawingScaleType&gt; 
&lt;/PageProps&gt;
</code></pre>
		</p><h2>See also</h2><p><a target="_blank" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vissdk11/html/DSS_Cells_(M-P)_1371.asp" id="HV82251371" lcid=" ">PageScale</a> cell (Page Properties section)</p><center><a href="XMLSchemaCopyright_HV01147162.htm">&copy;2003-2004 Microsoft Corporation. All rights reserved.</a>  

Permission to copy, display and distribute this document is available at: <a 

href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&amp;CTT=11&amp;Origin=HV011232471033" 

target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>