Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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;
		}
Ejemplo n.º 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;
		}
Ejemplo n.º 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;
		}
Ejemplo n.º 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;
		}
Ejemplo n.º 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);
		}
Ejemplo n.º 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);
 }