/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }