0
我在這個新的XML世界,因此我有這個XML文件:XML文件爲JPG文件
<?xml version="1.0"?>
<Graphics xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Graphics>
<PropertiesGraphicsEllipse>
<Left>56</Left>
<Top>43.709333795560333</Top>
<Right>225</Right>
<Bottom>193.70933379556033</Bottom>
<LineWidth>1</LineWidth>
<ObjectColor>
<A>255</A>
<R>0</R>
<G>0</G>
<B>0</B>
<ScA>1</ScA>
<ScR>0</ScR>
<ScG>0</ScG>
<ScB>0</ScB>
</ObjectColor>
</PropertiesGraphicsEllipse>
<PropertiesGraphicsLine>
<Start>
<X>345</X>
<Y>21.709333795560333</Y>
</Start>
<End>
<X>371</X>
<Y>279.70933379556033</Y>
</End>
<LineWidth>6</LineWidth>
<ObjectColor>
<A>255</A>
<R>182</R>
<G>0</G>
<B>0</B>
<ScA>1</ScA>
<ScR>0.4677838</ScR>
<ScG>0</ScG>
<ScB>0</ScB>
</ObjectColor>
</PropertiesGraphicsLine>
<PropertiesGraphicsText>
<Text>Hola Mundo</Text>
<Left>473</Left>
<Top>109.70933379556033</Top>
<Right>649</Right>
<Bottom>218.70933379556033</Bottom>
<ObjectColor>
<A>255</A>
<R>21</R>
<G>208</G>
<B>0</B>
<ScA>1</ScA>
<ScR>0.007499032</ScR>
<ScG>0.630757153</ScG>
<ScB>0</ScB>
</ObjectColor>
<TextFontSize>12</TextFontSize>
<TextFontFamilyName>Verdana</TextFontFamilyName>
<TextFontStyle>Normal</TextFontStyle>
<TextFontWeight>Normal</TextFontWeight>
<TextFontStretch>Normal</TextFontStretch>
</PropertiesGraphicsText>
</Graphics>
</Graphics>
我想利用這個文件,並使用C#創建這個新的.jpg文件VS2008。可能嗎? 在此先感謝
感謝0xA3執行我能夠創建JPG文件:) – George 2010-11-10 18:34:03