Example #1
0
        /// <summary>
        /// Creates a Circle outside the Area
        /// </summary>
        /// <param name="BorderColor"></param>
        /// <returns></returns>
        public PdfCircle OuterCircle(System.Drawing.Color BorderColor)
        {
            PdfCircle pc = new PdfCircle();

            pc.AxesArea    = this.OuterArea(this.width * (double)0.40, this.height * (double)0.40);
            pc.BorderColor = BorderColor;
            return(pc);
        }
Example #2
0
        /// <summary>
        /// Creates a Circle inside the Area
        /// </summary>
        /// <param name="BorderColor"></param>
        /// <returns></returns>
        public PdfCircle InnerCircle(System.Drawing.Color BorderColor)
        {
            PdfCircle pc = new PdfCircle();

            pc.AxesArea    = this;
            pc.BorderColor = BorderColor;
            return(pc);
        }
Example #3
0
        /// <summary>
        /// Creates a Circle outside the Area
        /// </summary>
        /// <param name="BorderColor"></param>
        /// <param name="StrokeWidth"></param>
        /// <returns></returns>
        public PdfCircle OuterCircle(System.Drawing.Color BorderColor, double StrokeWidth)
        {
            if (StrokeWidth <= 0)
            {
                throw new Exception("StrokeWidth must be grater than zero.");
            }
            PdfCircle pc = new PdfCircle();

            pc.AxesArea    = this.OuterArea(this.width * (double)0.40, this.height * (double)0.40);
            pc.BorderColor = BorderColor;
            pc.strokeWidth = StrokeWidth;
            return(pc);
        }
Example #4
0
        /// <summary>
        /// Creates a Circle inside the Area
        /// </summary>
        /// <param name="BorderColor"></param>
        /// <param name="StrokeWidth"></param>
        /// <returns></returns>
        public PdfCircle InnerCircle(System.Drawing.Color BorderColor, double StrokeWidth)
        {
            if (StrokeWidth <= 0)
            {
                throw new Exception("StrokeWidth must be grater than zero.");
            }
            PdfCircle pc = new PdfCircle();

            pc.AxesArea    = this;
            pc.BorderColor = BorderColor;
            pc.strokeWidth = StrokeWidth;
            return(pc);
        }
Example #5
0
		/// <summary>
		/// Creates a Circle outside the Area
		/// </summary>
		/// <param name="BorderColor"></param>
		/// <param name="StrokeWidth"></param>
		/// <returns></returns>
		public PdfCircle OuterCircle(System.Drawing.Color BorderColor,double StrokeWidth)
		{
			if (StrokeWidth<=0) throw new Exception("StrokeWidth must be grater than zero.");
			PdfCircle pc=new PdfCircle();
			pc.AxesArea=this.OuterArea(this.width*(double)0.40,this.height*(double)0.40);
			pc.BorderColor=BorderColor;
			pc.strokeWidth=StrokeWidth;
			return pc;
		}
Example #6
0
		/// <summary>
		/// Creates a Circle inside the Area
		/// </summary>
		/// <param name="BorderColor"></param>
		/// <param name="StrokeWidth"></param>
		/// <returns></returns>
		public PdfCircle InnerCircle(System.Drawing.Color BorderColor,double StrokeWidth)
		{
			if (StrokeWidth<=0) throw new Exception("StrokeWidth must be grater than zero.");
			PdfCircle pc=new PdfCircle();
			pc.AxesArea=this;
			pc.BorderColor=BorderColor;
			pc.strokeWidth=StrokeWidth;
			return pc;
		}
Example #7
0
		/// <summary>
		/// Creates a Circle outside the Area
		/// </summary>
		/// <param name="BorderColor"></param>
		/// <returns></returns>
		public PdfCircle OuterCircle(System.Drawing.Color BorderColor)
		{
			PdfCircle pc=new PdfCircle();
			pc.AxesArea=this.OuterArea(this.width*(double)0.40,this.height*(double)0.40);
			pc.BorderColor=BorderColor;
			return pc;
		}
Example #8
0
		/// <summary>
		/// Creates a Circle inside the Area
		/// </summary>
		/// <param name="BorderColor"></param>
		/// <returns></returns>
		public PdfCircle InnerCircle(System.Drawing.Color BorderColor)
		{
			PdfCircle pc=new PdfCircle();
			pc.AxesArea=this;
			pc.BorderColor=BorderColor;
			return pc;
		}
Example #9
0
		/// <summary>
		/// adds a Pdf Element into this PdfPage.
		/// </summary>
		/// <param name="PdfCircle"></param>
		public void Add(PdfCircle PdfCircle)
		{
			PdfCircle.ID=this.PdfDocument.GetNextId;
			this.PagePdfObjects.Add(PdfCircle);
		}
Example #10
0
 /// <summary>
 /// adds a Pdf Element into this PdfPage.
 /// </summary>
 /// <param name="PdfCircle"></param>
 public void Add(PdfCircle PdfCircle)
 {
     PdfCircle.ID = this.PdfDocument.GetNextId;
     this.PagePdfObjects.Add(PdfCircle);
 }