コード例 #1
0
ファイル: PdfPage.cs プロジェクト: huangming771314520/HBHC
 /// <summary>
 /// adds a Pdf Element into this PdfPage.
 /// </summary>
 /// <param name="PdfRectangle"></param>
 public void Add(PdfRectangle PdfRectangle)
 {
     PdfRectangle.ID = this.PdfDocument.GetNextId;
     this.PagePdfObjects.Add(PdfRectangle);
 }
コード例 #2
0
ファイル: PdfPage.cs プロジェクト: Johnnyfly/source20131023
		/// <summary>
		/// adds a Pdf Element into this PdfPage.
		/// </summary>
		/// <param name="PdfRectangle"></param>
		public void Add(PdfRectangle PdfRectangle)
		{
			PdfRectangle.ID=this.PdfDocument.GetNextId;
			this.PagePdfObjects.Add(PdfRectangle);
		}
コード例 #3
0
ファイル: PdfArea.cs プロジェクト: huangming771314520/HBHC
        /// <summary>
        /// Creates a simple void rectangle delimited by this Area.
        /// </summary>
        /// <param name="BorderColor"></param>
        /// <param name="FillingColor"></param>
        /// <returns></returns>
        public PdfRectangle ToRectangle(Color BorderColor, Color FillingColor)
        {
            PdfRectangle pr = new PdfRectangle(this.PdfDocument, this, BorderColor, FillingColor);

            return(pr);
        }