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 40 41 42 43 44 45 46 47
  
     | 
    
      <html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01085341"><META NAME="lcid" CONTENT="1033"><title>Colors 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>Colors Element</h1><p>
			<p>Contains the document's color table.</p>
			<p>Each document contains a single color table, which lists the 24 standard colors that are available for application to objects such as shapes, text, and layers in the document.</p>
		</p><h2>Syntax</h2><pre><code>
<Colors>
</Colors>
</code></pre><h2>Attributes</h2><p>None</p><h2>Element properties</h2><table><tr><th>Property</th><th>Value</th></tr>
			<tr><td>Name</td><td>Colors </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="vixmlelemVisioDocument.htm" id="HV01085731" lcid=""><b class="bterm">VisioDocument</b></a></p><p><b class="bterm">Child elements</b></p><p><a href="vixmlelemColorEntry.htm" id="HV01085340" lcid=""><b class="bterm">ColorEntry</b></a></p><h2>Example</h2><p>
			<p>The following example is a typical color table for a Microsoft Office Visio document.</p>
			<pre><code><Colors>
  <ColorEntry IX="0" RGB="#000000" /> 
  <ColorEntry IX="1" RGB="#FFFFFF" /> 
  <ColorEntry IX="2" RGB="#FF0000" /> 
  <ColorEntry IX="3" RGB="#00FF00" /> 
  <ColorEntry IX="4" RGB="#0000FF" /> 
  <ColorEntry IX="5" RGB="#FFFF00" /> 
  <ColorEntry IX="6" RGB="#FF00FF" /> 
  <ColorEntry IX="7" RGB="#00FFFF" /> 
  <ColorEntry IX="8" RGB="#800000" /> 
  <ColorEntry IX="9" RGB="#008000" /> 
  <ColorEntry IX="10" RGB="#000080" /> 
  <ColorEntry IX="11" RGB="#808000" /> 
  <ColorEntry IX="12" RGB="#800080" /> 
  <ColorEntry IX="13" RGB="#008080" /> 
  <ColorEntry IX="14" RGB="#C0C0C0" /> 
  <ColorEntry IX="15" RGB="#E6E6E6" /> 
  <ColorEntry IX="16" RGB="#CDCDCD" /> 
  <ColorEntry IX="17" RGB="#B3B3B3" /> 
  <ColorEntry IX="18" RGB="#9A9A9A" /> 
  <ColorEntry IX="19" RGB="#808080" /> 
  <ColorEntry IX="20" RGB="#666666" /> 
  <ColorEntry IX="21" RGB="#4D4D4D" /> 
  <ColorEntry IX="22" RGB="#333333" /> 
  <ColorEntry IX="23" RGB="#1A1A1A" /> 
</Colors>
</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/viobjColors.asp" id="HV81901031" lcid=" ">Colors</a> collection</p><center><a href="XMLSchemaCopyright_HV01147162.htm">©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&CTT=11&Origin=HV011232471033" 
target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html> 
     |