没有找到合适的产品?
联系客服协助选型:023-68661681
提供3000多款全球软件/控件产品
针对软件研发的各个阶段提供专业培训与技术咨询
根据客户需求提供定制化的软件开发服务
全球知名设计软件,显著提升设计质量
打造以经营为中心,实现生产过程透明化管理
帮助企业合理产能分配,提高资源利用率
快速打造数字化生产线,实现全流程追溯
生产过程精准追溯,满足企业合规要求
以六西格玛为理论基础,实现产品质量全数字化管理
通过大屏电子看板,实现车间透明化管理
对设备进行全生命周期管理,提高设备综合利用率
实现设备数据的实时采集与监控
利用数字化技术提升油气勘探的效率和成功率
钻井计划优化、实时监控和风险评估
提供业务洞察与决策支持实现数据驱动决策
原创|产品更新|编辑:龚雪|2016-07-01 15:52:40.000|阅读 368 次
概述:经典幻灯片管理控件Aspose.Slides重磅更新,基于最新技术,修复近百Bug,让您的演示更加精彩!
# 界面/图表报表/文档/IDE等千款热门软控件火热销售中 >>
| 核心 | 概述 | 类别 |
|---|---|---|
| SLIDESNET-37408 | 更换字体的问题 | 调查 |
| SLIDESNET-37395 | 支持在PDF里渲染隐藏的幻灯片 | 特色 |
| SLIDESNET-37193 | 支持为幻灯片添加五角形 | 特色 |
| SLIDESNET-35693 | 支持添加图片标题符号 | 特色 |
| SLIDESNET-33272 | Pptx的图片标题符号 | 特色 |
| SLIDESNET-37488 | 超链接不是从演示中提取的 | Bug |
| SLIDESNET-37477 | 访问演示时PPT读取异常 | Bug |
| SLIDESNET-37468 | 无效的操作异常:在创建有效的部分格式时,颜色的问题还未解决 | Bug |
| 其他55个改进 | 单击访问查看>>> | Bug |
这个属性代表了在段落中作为符号使用的图片。
代码片段:
using (Presentation pres = new Presentation())
{
//Accessing the first slide
ISlide slide = pres.Slides[0];
//Instantiate the image for bullets
Image img = new Bitmap("bullet.png");
IPPImage imgx = pres.Images.AddImage(img);
//Adding and accessing Autoshape
IAutoShape aShp = slide.Shapes.AddAutoShape(ShapeType.Rectangle, 200, 200, 400, 200);
//Accessing the text frame of created autoshape
ITextFrame txtFrm = aShp.TextFrame;
//Removing the default exisiting paragraph
txtFrm.Paragraphs.RemoveAt(0);
//Creating new paragraph
Paragraph para = new Paragraph();
para.Text = "Welcome to Aspose.Slides";
//Setting paragraph bullet style and image
para.ParagraphFormat.Bullet.Type = BulletType.Picture;
para.ParagraphFormat.Bullet.Picture.Image = imgx;
//Setting Bullet Height
para.ParagraphFormat.Bullet.Height = 100;
//Adding Paragraph to text frame
txtFrm.Paragraphs.Add(para);
//Writing the presentation as a PPTX file
pres.Save("Bullet.pptx", SaveFormat.Pptx);
//Writing the presentation as a PPT file
pres.Save("Bullet.ppt", SaveFormat.Ppt);
//Writing the presentation as a ODP file
pres.Save("Bullet.odp", SaveFormat.Odp);这个属性规定了输出的文件中是否包含隐藏幻灯片,默认值始终是“否”。
代码示例:
using (Presentation pres = new Presentation("Presentation.pptx"))
{
//Instantiate the PdfOptions class
PdfOptions pdfOptions = new PdfOptions();
//Specify that the generated document should include hidden slides
pdfOptions.ShowHiddenSlides = true;
//Save the presentation to PDF with specified options
pres.Save("Presentation.pdf", SaveFormat.Pdf, pdfOptions);
}| 核心 | 概述 | 类别 |
|---|---|---|
| SLIDESJAVA-35479 | Bcprov的哪个版本是由Aspose.Slides for Java和 Aspose.Cells支持的 | 调查 |
| SLIDESJAVA-35454 | 改变现有VBA模块的功能和底层 | 调查 |
| SLIDESJAVA-35446 | 研究回归测试在测试服务器上的Aspose Slides项目中的失败 | 调查 |
| SLIDESJAVA-35438 | 将演示输出为PDF时,默认的图片格式及其品质 | 调查 |
| SLIDESJAVA-35420 | 为某些文本提取对齐值 | 调查 |
| SLIDESJAVA-35376 | Aspose.Slides字体加载的机制 | 调查 |
| SLIDESJAVA-34229 | 使用像Windows Service这种基于Aspose.Slides的程序时的堆栈溢出异常 | 特色 |
| SLIDESJAVA-35359 | 支持在PDF中渲染隐藏的幻灯片 | 特色 |
| SLIDESJAVA-35284 | 在一个应用程序中,仅加载一次字体 | 特色 |
| SLIDESNET-37193 | 支持为幻灯片添加五角形 | 特色 |
| SLIDESNET-35693 | 支持添加图片标题符号 | 特色 |
| SLIDESNET-33272 | Pptx的图片标题符号 | 特色 |
| 其他48个改进 | 单击访问查看> | Bug |
“Bouncy Castle Crypto API”库已更新至1.54版,Aspose.Slides for Java 16.5.0就是基于最新版的该库进行升级的。
这种方法代表了在段落中作为符号使用的图片
代码片段:
Presentation pres = new Presentation();
try
{
//Accessing the first slide
ISlide slide = pres.getSlides().get_Item(0);
//Instantiate the image for bullets
BufferedImage img = null;
try {
img = ImageIO.read(new File("bullet.jpg"));
} catch (IOException e) { }
IPPImage imgx = pres.getImages().addImage(img);
//Adding and accessing Autoshape
IAutoShape aShp = slide.getShapes().addAutoShape(ShapeType.Rectangle, 200, 200, 400, 200);
//Accessing the text frame of created autoshape
ITextFrame txtFrm = aShp.getTextFrame();
//Removing the default exisiting paragraph
txtFrm.getParagraphs().removeAt(0);
//Creating new paragraph
Paragraph para = new Paragraph();
para.setText("Welcome to Aspose.Slides");
//Setting paragraph bullet style and image
para.getParagraphFormat().getBullet().setType(BulletType.Picture);
para.getParagraphFormat().getBullet().getPicture().setImage(imgx);
//Setting Bullet Height
para.getParagraphFormat().getBullet().setHeight(100);
//Adding Paragraph to text frame
txtFrm.getParagraphs().add(para);
//Writing the presentation as a PPTX file
pres.save("Bullet.pptx", SaveFormat.Pptx);
//Writing the presentation as a PPT file
pres.save("Bullet.ppt", SaveFormat.Ppt);
//Writing the presentation as a ODP file
pres.save("Bullet.odp", SaveFormat.Odp);
}
finally
{
if(pres != null) pres.dispose();
}这种方法规定了输出的文件中是否包含隐藏幻灯片,默认值始终是“否”。
代码示例:
Presentation pres = new Presentation("Presentation.pptx");
try
{
//Instantiate the PdfOptions class
PdfOptions pdfOptions = new PdfOptions();
//Specify that the generated document should include hidden slides
pdfOptions.setShowHiddenSlides(true);
//Save the presentation to PDF with specified options
pres.save("Presentation.pdf", SaveFormat.Pdf, pdfOptions);
}
finally
{
if(pres != null) pres.dispose();
}本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@ke049m.cn
文章转载自:慧都控件网



本文将介绍界面组件Telerik UI for WinForms在今年第三个重大版本2025 Q3中发布的新功能,欢迎下载最新版组件体验!
界面控件DevExpress WinForms v25.2将于今年年末左右更新,新版本将继续升级报表组件功能等,欢迎关注我们及时获取最新消息~
DevExpress WinForms控件v25.1日前已经全新发布,新版本的Ribbon、PDF Viewer(查看器)等组件功能全新升级等,欢迎下载最新版体验!
界面控件DevExpress WinForms v25.2将于今年年末左右更新,新版本将继续升级富文本编辑器控件功能等,欢迎关注我们及时获取最新消息~
服务电话
重庆/ 023-68661681
华东/ 13452821722
华南/ 18100878085
华北/ 17347785263
客户支持
技术支持咨询服务
服务热线:400-700-1020
邮箱:sales@ke049m.cn
关注我们
地址 : 重庆市九龙坡区火炬大道69号6幢
半岛外围网上直营