小编mna*_*tal的帖子

在winform中选择ListView项目

我想在点击时选择ListView中的项目.我也想知道我点击了什么.我用c#工作winforms.我也想知道如何点击所有行?

.net c# listview winforms

8
推荐指数
1
解决办法
2万
查看次数

PDF格式的希伯来文

我写了一个PDF文档,我尝试用希伯来语(UTF-8)编写,我不能在Windows窗体中使用C#和Visual Studio 2010使用以下代码.

Document Doc = new Document(PageSize.LETTER);

//Create our file stream
using (FileStream fs = new FileStream("C:\\Users\\moshe\\Desktop\\Test18.pdf", FileMode.Create, FileAccess.Write, FileShare.Read))
{
    //Bind PDF writer to document and stream
    PdfWriter writer = PdfWriter.GetInstance(Doc, fs);

    //Open document for writing
    Doc.Open();

    //Add a page
    Doc.NewPage();

    //Full path to the Unicode Arial file
    string ARIALUNI_TFF = Path.Combine("C:\\Users\\moshe\\Desktop\\proj\\gold\\fop\\gold", "ARIAL.TTF");

    //Create a base font object making sure to specify IDENTITY-H
    BaseFont bf = BaseFont.CreateFont(ARIALUNI_TFF, BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED);

    //Create a specific font object
    iTextSharp.text.Font f = new …
Run Code Online (Sandbox Code Playgroud)

c# pdf itextsharp winforms

6
推荐指数
1
解决办法
4912
查看次数

标签 统计

c# ×2

winforms ×2

.net ×1

itextsharp ×1

listview ×1

pdf ×1