资源简介
这个是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环网
相关资源
- Aspose.Words 18.7 带SkiaSharp 解决了错误
- Aspose.Words 18.7破解版本,含.net core版本
- aspose-words-15.8.0最新完美破解版无水印
- .Net Core使用AsposeWord转PDF
- Aspose.Words导出到word
- Aspose(Word 18.7Cell 18.4) for .Net 破解版
- aspose去水印
- Aspose.word.dll文件,修复The document app
- Aspose.Cells 17.7 net版本
- Aspose.Cellsdll 18.4+demo.zip 支持Excel各种
- Aspose.Cells7.7.2含中文文档 破解版
- Aspose.Cells 17.7 for .NET 破解版(.net2.0
- aspose 中文api
- Aspose.Slides 17.9.1 破解版有水印
- Aspose.Words.dll最新破解版,完美去水印
- aspose excel工具-无限license
- aspose-words-18.5版本2018年4月18日发布版
- Aspose.Cells 17.7 for .NET破解版17年7月最新
- Aspose.Words.18.11.0--破解版
- aspose.words 18.7破解版18年7月最新版本
- aspose-words-18.6-jdk16破解版
- aspose.slides 17.9.1 热补丁 .net
-
aspose-word+license.xm
l - Aspose.Cells_18.11破解版
- Aspose.Words 19.11.net core 可用
- Aspose.Cells
- AsposeCells.rar
- Aspose.Words.dll 18.7破解版
- Aspose.Words.chm 帮助文档
- Aspose.Words V13.3 破解版
评论
共有 条评论