我创建了自己的后台标签,想要显示图像。我可以显示“imageMso”图像,但不能显示位于我硬盘上的图像。我的XML代码错了吗?我错过了什么谢谢。
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<backstage>
<button idMso="FileSave" visible="false"/>
<button idMso="SaveObjectAs" visible="false"/>
<button idMso="FileSaveAsCurrentFileFormat" visible="false"/>
<button idMso="FileOpen" visible="false"/>
<button idMso="FileCloseDatabase" visible="true"/>
<tab idMso ="TabInfo" visible="false"/>
<tab idMso ="TabRecent" visible="false"/>
<tab idMso ="TabNew" visible="false"/>
<tab idMso ="TabPrint" visible="false"/>
<tab idMso ="TabShare" visible="false"/>
<tab idMso ="TabHelp" visible="false"/>
<button idMso="ApplicationOptionsDialog" visible="true"/>
<button idMso="FileExit" visible="false"/>
<tab id="Tab1" label="My Tab">
<firstColumn>
<group id="myGroup" style="normal" label="ImageControl:">
<topItems>
<layoutContainer id="layInfo1" layoutChildren="horizontal" align="topLeft">
<imageControl id="img1" imageMso="AppointmentColorDialog"/>
<labelControl id="lbl1" label="Image 1"/>
</layoutContainer>
<layoutContainer id="layInfo2" layoutChildren="horizontal" align="topLeft">
<imageControl id="img2" imageMso="AppointmentColorDialog"/>
<labelControl id="lbl2" label="Image 2"/>
</layoutContainer>
<layoutContainer id="layInfo3" layoutChildren="horizontal" align="topLeft">
<imageControl id="img3" image="C:\Projects\Quoting\BEC\Logo.bmp"/>
<labelControl id="lbl3" label="Image 3"/>
</layoutContainer>
</topItems>
</group>
</firstColumn>
</tab>
</backstage>