返回列表 發帖
謝謝呀=w=
但是我在第一個島都6日了 看來要重玩._."

TOP


TOP

我是來打醬油的























祛痘靈

TOP

private void PdfCodeDemo() 05
   { 06
       float PDFWidth = 100;    //PDF寬度 (72DPI像素值) 07
       float PDFHeight = 100;    //PDF高度 (72DPI像素值) 08
  09
       Rectangle rect = fashionable Rectangle(PDFWidth, PDFHeight); 10
       Document doc = new Document(rect); 11
  12
       //將PDF和文件路徑關聯 13
       PdfWriter author = PdfWriter.GetInstance(doc, new FileStream("PDF存儲路徑", FileMode.Create)); 14
       writer.SetPdfVersion(PdfWriter.PDF_VERSION_1_7); 15
  16
       //PDF信息寫入 17
       doc.AddCreationDate(); 18
       doc.AddAuthor("作者"); 19
      doc.AddCreator("創建人"); 20
       doc.AddKeywords("關鍵字"); 21
       doc.AddSubject("主題"); 22
       doc.AddTitle("標題"); 23
  24
       doc.Open(); 25
       PdfContentByte cb = writer.DirectContent; 26
  27
       //繪制圖片 28
       Image imageTemp = Image.GetInstance("圖片路徑"); 29
       imageTemp.ScaleAbsolute(100,supra, 100);    //設寘寬高 30
       imageTemp.SetAbsolutePosition(0, 0);    //設寘位寘 31
       doc.Add(imageTemp); 32
  33
       //繪制文字 34
       cb.BeginText(); 35
       BaseFont bfBar = BaseFont.CreateFont(@"C:\WINDOWS\Fonts\FZYBKSJW.TTF", BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED); 36
       cb.SetRGBColorFill(255, 255,supra footwear, 255); 37
       cb.SetTextMatrix(100, 100);    //位寘 38
       //cb.SetTextMatrix(0, 1,abercrombie france, -1, 0,doudoune moncler, textLeft, textTop); 90度 39
       cb.SetFontAndSize(bfBar,supra shoes, 12);    //字體及大小 40
       cb.ShowText("文字內容"); 41
       cb.EndText(); 42
  43
       //加載繪制現有PDF 44
       PdfReader reader = new PdfReader("現有PDF路徑"); 45
       PdfImportedPage page = writer.GetImportedPage(reader, 1); 46
       Image imagePdf = Image.GetInstance(sheet); 47
       imagePdf.ScaleAbsolute(100, 100); 48
       imagePdf.SetAbsolutePosition(0,louboutin pas cher, 0); 49
       doc.Add(imagePdf); 50
       reader.Close(); 51
  52
       //畫線 53
       cb.SetLineWidth(1); 54
       cb.SetColorStroke(BaseColor.RED); 55
       cb.MoveTo(0,louboutin, 0); 56
       cb.LineTo(100,abercrombie, 100); 57
       cb.Stroke(); 58
  59
       //創建新頁 60
       Rectangle rectNew = new Rectangle(PDFWidth * 2, PDFHeight); 61
       bool bo = doc.SetPageSize(rectNew);    //改變新頁呎寸 62
       doc.NewPage(); 63
  64
       doc.Close(); 65
   }
Related articles:

  
   http://qq5888.com/viewthread.php?tid=87058
  
   http://whip.cvide.com/index.php?p=blogs/viewstory/25291
  
   http://sns.yilutong.com/blog.php?user=111&blogentry_id=1394
  

Bantu refugees from Somalia helped start the New Roots Community Farm in San Diego, California. Many of them did not have much money or much fresh produce in their lives. Some, especially young people, were eating unhealthy fast food.
The refugees wanted to grow their own food. Cambodians and other groups in San Diego were in a similar situation.
A community farm seemed like a good answer. The refugees got help from the group that had resettled many of them, the International Rescue Committee. But getting a permit to use some open land owned by the city took about two years.
The New Roots Community Farm opened in two thousand nine. The farm is almost one hectare. People can learn how to grow foods from back home as well as traditional American crops.
The growers sell some of their produce at a marketplace and to restaurants.
One result of the community farm is that people are learning about foods from other people's homelands. First lady Michelle Obama -- who has her own vegetable garden at the White House -- visited the farm in San Diego last year, where Dadiri Nuro grows crops.
A group called the Somali Bantu Zigua Community has operated a farm for several years near Boise, Idaho. Dadiri Nuro is the group's president.
DADIRI NURO: "We are farming people. We like to farm. We need fresh food. We have two kinds of corn. We have African corn, we have American corn. Americans, they like soft corn, and the Bantu, we like hard corn."
Mr. Nuro came to the United States in two thousand four. He and his family had been living in a refugee camp in Kenya.
He says more than fifteen crops are grown without pesticides at the farm.
DADIRI NURO: "We have potatoes, we have tomatoes, we have kale, lettuce, cabbage, onion, shallots ... "
The community group sells some of its produce at a farmers market and has now bought storage freezers. The group has also donated food to other communities.
The Idaho state Office for Refugees has advice on its website about starting a community garden. You can find a link at www.unsv.com.

TOP

10

讓版主看後決定加精固頂的好帖

TOP

返回列表

紅心討論區