标签: export

如何将Fireworks CS4文档的所有页面设置为PNG?

我有一个包含多个页面的Fireworks CS4文档.文件>导出>页面到文件功能生成GIF,但我想要PNG.如何更改所有页面的此设置,避免浏览每个页面并手动更改此设置?

png export fireworks

3
推荐指数
1
解决办法
3058
查看次数

C#MS Office PPT到图像的转换

我是C#和Windows编程的初学者。我编写了一项服务,该服务使用库提供的slide.export方法将PowerPoint文件转换为单个幻灯片图像microsoft.office.interop.powerpoint。我可以获取所有幻灯片,但其中一些似乎已损坏,我看到了类似"Image cannot be displayed. Memory exceeded"的东西。我以为它的内存不足,然后只用一张幻灯片的ppt试了一下(其图像坏了),令我沮丧的是,我也发现单个图像也坏了。

我是错误地使用了export还是应该传递与已经传递的参数不同的参数?我将在下面粘贴代码。

Microsoft.Office.Interop.PowerPoint.Application appPpt
    = new Microsoft.Office.Interop.PowerPoint.Application();

Microsoft.Office.Interop.PowerPoint.Presentation objActivePresentation
    = appPpt.Presentations.Open(strFilePath,
                                Microsoft.Office.Core.MsoTriState.msoCTrue,
                                Microsoft.Office.Core.MsoTriState.msoTriStateMixed,
                                Microsoft.Office.Core.MsoTriState.msoFalse);

foreach (Microsoft.Office.Interop.PowerPoint.Slide objSlide
                                                   in objActivePresentation.Slides)
{
    //Names are generated based on timestamp. 
    objSlide.Export(slideName, "PNG", 960, 720);
    objSlide.Export(slideNameMedium, "JPG", 307, 231);
    objSlide.Export(slideNametn, "JPG", 150, 113);
}
Run Code Online (Sandbox Code Playgroud)

我在这里需要帮助。提前致谢。

c# powerpoint interop export office-interop

3
推荐指数
1
解决办法
3795
查看次数

我在哪里可以找到.apk文件?

我想导出一个APK文件,以便朋友可以尝试我在他的手机上使用Eclipse/ADT开发的应用程序.我该怎么做呢?我在Eclipse的导出选项下找不到合适的选项,在我的驱动器上搜索.apk没有显示任何内容?

谢谢

android export apk

3
推荐指数
1
解决办法
5817
查看次数

在Delphi中使用C ++ .DLL中的函数

我正在尝试从Delphi中的“近似最近邻居”(ANN)库访问各种功能(实际上,它是Lazarus / FreePascal,但这无关紧要)。

这是C ++中的减速度:

#include <cstdlib>                      // C standard lib defs
#include <ANN/ANNx.h>                   // all ANN includes
#include <ANN/ANNperf.h>                // ANN performance 

using namespace std;                    // make std:: accessible
....
....
void annMaxPtsVisit(            // set limit on max. pts to visit in search
    int                 maxPts)         // the limit
{
    ANNmaxPtsVisited = maxPts;
}
Run Code Online (Sandbox Code Playgroud)

这是我尝试annMaxPtsVisit从Lazarus内部访问该函数的方法(如果您不知道Lazarus是什么,请假装其delphi):

unit unit1;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
type

  { TForm1 }

  TForm1 = class(TForm) …
Run Code Online (Sandbox Code Playgroud)

c++ dll export freepascal static-linking

3
推荐指数
1
解决办法
3015
查看次数

C#MEF:导出一种类型的多个对象,并导入特定的对象

我有一个应用程序,它导出同一个类的几个对象,以及只导入特定类的插件.例如

public class Part
{
  string name;
  public Part(string nm)
  {
    name = nm;
  }
}

public class Car //Exports ALL Parts of the Car
{
  [Export(typeof(Part))]
  public Part steeringWheel = new Part("SteeringWheel");

  [Export(typeof(Part))]
  public Part engine = new Part("Engine");

  [Export(typeof(Part))]
  public Part brakes = new Part("Brakes");
}

public class SystemMonitorPlugin //Imports only SOME Parts from the Car
{
  [Import(typeof(Part))]
 public Part engine;

  [Import(typeof(Part))]
  public Part brakes;
}
Run Code Online (Sandbox Code Playgroud)

有人可以解释我是如何实现这种行为的吗?

c# wpf import mef export

3
推荐指数
1
解决办法
4939
查看次数

在ASP.NET Linq数据绑定中将Gridview数据导出到Excel

我使用波纹管代码导出gridview数据excel但问题是整个页面导出到excel.我只想要gridview数据而不是整页导出.怎么能解决这个问题?

HtmlForm form = new HtmlForm();
Response.Clear();
Response.Buffer = true;
string filename = "GridViewExport_" + DateTime.Now.ToString() + ".xls";

Response.AddHeader("content-disposition", "attachment;filename=" + filename);
Response.Charset = "";
Response.ContentType = "application/vnd.ms-excel";
StringWriter sw = new StringWriter();
HtmlTextWriter hw = new HtmlTextWriter(sw);
gdvInBox.AllowPaging = false;
gdvInBox.DataBind();
form.Controls.Add(gdvInBox);
this.Controls.Add(form);
form.RenderControl(hw);

//style to format numbers to string
string style = @"<style> .textmode { mso-number-format:\@; } </style>";
Response.Write(style);
Response.Output.Write(sw.ToString());
Response.Flush();
Response.End();
Run Code Online (Sandbox Code Playgroud)

提前致谢.

asp.net excel gridview entity-framework export

3
推荐指数
1
解决办法
7935
查看次数

在Delphi中编写DLL以从其他语言调用

这将是我第一次尝试在Delphi中编写DLL以从其他语言调用.

我已经做了很多谷歌搜索并看到一些好的指针,但没有详尽无遗(至少,我有问题,在Embarcadero材料中没有找到答案).

我想知道这个警告列表是否有效,或者我是否遗漏了什么,如果有人可以在下面提出我的问题.

  • 如果我希望我的DLL可以从其他语言调用,那么我不能使用该ShareMem单位.
  • 我不能使用这种String类型,应该坚持下去PChar
  • 如果我想返回一个字符串,则调用者应该给我一个缓冲区,它写入(我不 alloctae内存为我自己,即使我提供了一个常规的事后释放它)
  • 我应该坚持像(integetr和PChar其他人一样)的简单类型吗?

几个问题:

  • comipler禁止我导出枚举和常量.我只是没有正确宣布它们吗?我想调用Delphi s/w能够使用枚举元素和所有调用者能够使用常量.
  • 我不应该使用任何结构,因为编译器之间的字节对齐可能存在差异.所以,如果我不能接受strectures作为参数.我想我应该只有integers和PChars 的长参数列表?
  • 我可以接受数组作为参数,或者边界对齐是否会造成危险?
  • 我可以接受/返回花车/双打吗?
  • 布尔值?或者我坚持"zer0 ===假,其他一切都是真的"?

  • 还有什么我应该知道的吗?

在此先感谢您的帮助

delphi dll enums export

3
推荐指数
1
解决办法
318
查看次数

dumpbin导出输出中的@number是什么

使用DUMPBIN在C++ .DLL(或IMPLIB .LIB文件)与/输出或/进口我看到的语法中,如以下的输出:

Exports

ordinal    name

      _CloseConduit@4
      _ConduitPort
      _GetConduitVersion@4
      _GetStatusConduit@8
      _GetTimeout@0
      _OpenConduit@4
Run Code Online (Sandbox Code Playgroud)

我无法找到@n指定含义的定义.我最后得出结论,它是参数数据的字节数,但是根据一些例子的推断,它让我有点紧张.任何人都可以指向一个参考,或者与任何权威人士说,这里的数字是什么意思?

c++ windows dll export dumpbin

3
推荐指数
1
解决办法
882
查看次数

内核/ proc / kallsyms中的'T'和't'有什么区别

这是System.map和/ proc / kallsyms中文本文件的一部分。

  • ffffffff8106c260 T离开_毫米
  • ffffffff8106c340 t do_flush_tlb_all
  • ffffffff8106c390 t flush_tlb_func
  • ffffffff8106c510 T native_flush_tlb_others
  • ffffffff8106c540 T flush_tlb_current_task
  • ffffffff8106c600 T flush_tlb_mm_range
  • ffffffff8106c770 T flush_tlb_page
  • ffffffff8106c820 T flush_tlb_all
  • ffffffff8106c840 T flush_tlb_kernel_range

“ T”和“ t”有什么区别?我知道T或t用于文本(代码)部分。

我猜想T可以在内核模块中调用,而t不能在内核模块中调用。

让我知道它们的确切含义和区别。

linux text symbols module export

3
推荐指数
1
解决办法
2386
查看次数

用Javascript导出类实例

我正在看这段代码,其中以有点奇怪的方式导出了一个类实例。

提供一个抢断。导出如下:

    class RegisterStore {
    @observable success = false
    @observable failure = false
    @observable errors = {}
    ...
    }

export default new RegisterStore()
export { RegisterStore }
Run Code Online (Sandbox Code Playgroud)

并按如下所示将其导入index.js中:

import registerStore from './stores/RegisterStore'
...
const stores = {
registerStore
...
}
Run Code Online (Sandbox Code Playgroud)

为什么第一个代码的末尾有两个导出?是
export default new RegisterStore() 和
const NewRegisterStore = new RegisterStore(); export default NewRegisterStore是相等的?

javascript singleton export reactjs

3
推荐指数
1
解决办法
1283
查看次数