資源簡介
這個是Aspose.Slides17.9 .net版,無水印帶有實例代碼實例,操作簡單有效,,可以用

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?Aspose.Slides;
using?Aspose.Slides.Charts;
using?Aspose.Slides.Export;
using?System.Reflection;
namespace?HOTPathchAsposeSlides
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????///?
????????///?像素轉化
????????///?
????????///?
????????///?
????????public?float?changeNum(int?old)
????????{
????????????return?(float)(old?/?1.453);
????????}
????????///?
????????///?添加初測
????????///?
????????///?
????????public?void?AddTxt(ISlide?sld0)
????????{
??????????
????????????IAutoShape?ashp?=?sld0.Shapes.AddAutoShape(ShapeType.Rectangle?changeNum(316)?changeNum(113)?changeNum(110)?changeNum(60));?//添加形狀??
????????????ashp.FillFormat.FillType?=?FillType.NoFill;//背景不填充
???????????
???????????
????????????ITextframe?tf?=?ashp.Textframe;//添加一個文本框??
????????????tf.Text?=?“初測“;//文本
????????????IPortion?port?=?tf.Paragraphs[0].Portions[0];//文本段落????????????
????????????port.PortionFormat.LatinFont?=?new?FontData(“黑體“);
????????????port.PortionFormat.FontBold?=?NullableBool.True;??//加粗??????
????????????port.PortionFormat.FontHeight?=?20;//大小
????????????port.PortionFormat.FillFormat.FillType?=?FillType.Solid;
????????????port.PortionFormat.FillFormat.SolidFillColor.Color?=?System.Drawing.ColorTranslator.FromHtml(“#adbf53“);
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????Crack();//調用Crack方法實現軟破解
????????????//實例化ppt文件
????????????Presentation?pres?=?new?Presentation();???????????
???????????
????????????//第一個幻燈片
????????????ISlide?sld0?=?pres.Slides[0];
????????????sld0.Shapes.Clear();
????????????//添加初測
????????????AddTxt(sld0);
?????????????IAutoShape?ashp?=?sld0.Shapes.AddAutoShape(ShapeType.Rectangle?50?100?500?100);?//添加形狀????????????
????????????ashp.FillFormat.FillType?=?FillType.NoFill;//背景不填充
????????????ITextframe?tf?=?ashp.Textframe;//添加一個文本框??
????????????tf.Text?=?“Hello?world“;//文本
????????????IPortion?port?=?tf.Paragraphs[0].Portions[0];//文本段落????????????
????????????port.PortionFormat.LatinFont?=?new?FontData(“黑體“);
????????????port.PortionFormat.FontBold?=?NullableBool.True;??//加粗??????
????????????port.PortionFormat.FontHeight?=?50;//大小
????????????port.PortionFormat.FillFormat.FillType?=?FillType.Solid;
????????????port.PortionFormat.FillFormat.SolidFillColor.Color?=?System.Drawing.Color.Red;//顏色?
????????????//創建個空的幻燈片???????
????????????pres.Slides.AddEmptySlide(pres.LayoutSlides[0]);
????????????//第二個幻燈片
????????????ISlide?sld?=?pres.Slides[1];
????????????//刪除默認生成的形狀框
????????????sld.Shapes.Clear();
????????????//?添加圖表
??????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1368??2016-10-16?17:17??Properties\AssemblyInfo.cs
?????文件???????2855??2016-10-16?17:17??Properties\Resources.Designer.cs
?????文件???????5612??2016-10-16?17:17??Properties\Resources.resx
?????文件???????1108??2016-10-16?17:17??Properties\Settings.Designer.cs
?????文件????????249??2016-10-16?17:17??Properties\Settings.settings
?????文件???????3824??2017-11-02?14:45??AsposeSlidesTest.csproj
?????文件??????10013??2020-06-09?11:59??Form1.cs
?????文件???????2220??2017-11-02?14:45??Form1.Designer.cs
?????文件???????5817??2017-11-02?14:45??Form1.resx
?????文件????????482??2016-10-16?17:17??Program.cs
?????文件???20894184??2017-10-08?13:40??bin\Debug\Aspose.Slides.dll
?????文件??????14336??2020-06-09?16:46??bin\Debug\HOTPathchAsposeSlides.exe
?????文件??????26112??2020-06-09?16:46??bin\Debug\HOTPathchAsposeSlides.pdb
?????文件??????????0??2020-06-09?16:46??obj\Debug\AsposeSlidesTest.csproj.CopyComplete
?????文件?????????42??2020-06-09?16:46??obj\Debug\AsposeSlidesTest.csproj.CoreCompileInputs.cache
?????文件????????912??2020-06-09?16:46??obj\Debug\AsposeSlidesTest.csproj.FileListAbsolute.txt
?????文件????????847??2020-06-09?16:46??obj\Debug\AsposeSlidesTest.csproj.GenerateResource.cache
?????文件????????855??2020-06-09?09:17??obj\Debug\DesignTimeResolveAssemblyReferences.cache
?????文件???????6208??2020-06-09?16:46??obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件??????????0??2020-06-09?11:59??obj\Debug\HOTPathchAsposeSlides.csproj.CopyComplete
?????文件?????????42??2020-06-09?11:24??obj\Debug\HOTPathchAsposeSlides.csproj.CoreCompileInputs.cache
?????文件???????4440??2020-06-09?11:24??obj\Debug\HOTPathchAsposeSlides.csproj.FileListAbsolute.txt
?????文件????????847??2020-06-09?11:24??obj\Debug\HOTPathchAsposeSlides.csproj.GenerateResource.cache
?????文件????????424??2020-06-09?11:28??obj\Debug\HOTPathchAsposeSlides.csprojAssemblyReference.cache
?????文件???????8810??2017-11-02?14:45??obj\Debug\HOTPathchAsposeSlides.csprojResolveAssemblyReference.cache
?????文件??????14336??2020-06-09?16:46??obj\Debug\HOTPathchAsposeSlides.exe
?????文件????????180??2020-06-09?16:46??obj\Debug\HOTPathchAsposeSlides.Form1.resources
?????文件??????26112??2020-06-09?16:46??obj\Debug\HOTPathchAsposeSlides.pdb
?????文件????????180??2020-06-09?16:46??obj\Debug\HOTPathchAsposeSlides.Properties.Resources.resources
?????目錄??????????0??2016-10-16?17:17??obj\Debug\TempPE
............此處省略8個文件信息
- 上一篇:《射頻通信電路》陳邦媛 PDF
- 下一篇:基于PSASP的電網潮流計算220kV環網
評論
共有 條評論