<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><span style="font-size: 10pt; ">If I use </span></div><div>rootIcon.loadIcon(FileLocation + 'media/luca.jpg');<br></div><div><br></div><div>then </div><div>inspect(rootIcon) </div><div><br></div><div>gives me</div><div><span style="font-size: 10pt; ">logo : _level0.engine.IFC.logo </span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">If I don't loadIcon, no logo property.</span></div><div><span style="font-size: 10pt; ">So they are connected, just not sure where to go from there.</span></div><div><br></div><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Wed, 4 Apr 2012 09:41:22 -0700<br>From: Paul.Swanson@harlandfs.com<br>To: xerte@lists.nottingham.ac.uk<br>Subject: [Xerte] Can I use methods to modify an image inserted using rootIcon.loadIcon( )? Xerte Desktop 2.17<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri","sans-serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;text-underline:single;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;text-underline:single;}
.ExternalClass span.ecxEmailStyle17
{font-family:"Calibri","sans-serif";color:windowtext;}
.ExternalClass span.ecxSpellE
{;}
.ExternalClass .ecxMsoChpDefault
{font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
</style><div class="ecxWordSection1"><p class="ecxMsoNormal">I’ve loaded a small graphic using <span class="ecxSpellE">rootIcon.loadIcon</span>(), but it sits a bit too high and too far to the right. Can I use the move() method to change its position and add a drop shadow with <span class="ecxSpellE">dropShadow</span>()? Is there an internal reference to this object? I’ve tried creating my own by both:</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"><span class="ecxSpellE">customLogo</span> = <span class="ecxSpellE">rootIcon.loadIcon</span>(<span class="ecxSpellE">FileLocation</span> + ‘media/myLogo.png’);</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">and:</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"><span class="ecxSpellE">rootIcon.loadIcon</span>(<span class="ecxSpellE">FileLocation</span> + ‘media/myLogo.png’).id = “<span class="ecxSpellE">customLogo</span>”; </p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">followed by:</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"><span class="ecxSpellE">customLogo.move</span>(10,10);</p><p class="ecxMsoNormal"><span class="ecxSpellE">customLogo.dropShadow</span>(4, 135, 0x000000, 80);</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">The logo appears, but its position is unchanged and no drop shadow has been applied. Do I have to modify the graphic in an image processing program? No big deal, but easier to just move it around in <span class="ecxSpellE">Xerte</span> since I can see it in relation to the interface (using the default interface).</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"><b style=""><span style="">Paul Swanson</span></b></p><p class="ecxMsoNormal"><span style="font-size:10.0pt;color:#595959">Internal Business Systems Analyst</span></p><p class="ecxMsoNormal"><span style="font-size:10.0pt;color:#595959">Internal Business Intelligence</span></p><p class="ecxMsoNormal"><span style="font-size:10.0pt;color:#595959">Harland Financial Solutions</span></p><p class="ecxMsoNormal"><span style="font-size:10.0pt;color:#595959">(800) 274-7280 Ext. 2462</span></p><p class="ecxMsoNormal"><span style="font-size:10.0pt;color:#595959">Paul.Swanson@harlandfs.com</span><span style=""></span></p><p class="ecxMsoNormal"> </p></div><br>
This message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do not use,
copy or disclose the information contained in this message or in any attachment.
Any views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham.
<BR>
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
<BR>
<br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.</div> </div></body>
</html>