Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #5
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);
		}
Beispiel #6
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);
 }
Beispiel #7
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;
		}
Beispiel #8
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;
		}
Beispiel #9
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;
		}
Beispiel #10
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;
		}