private LineStyle ConvertPDFLineStyle(PDFLineStyle lineStyle) { switch (lineStyle) { case PDFLineStyle.Solid: return(LineStyle.Solid); case PDFLineStyle.Dash: return(LineStyle.Dash); case PDFLineStyle.DashLarge: return(LineStyle.DashLarge); case PDFLineStyle.DashSmall: return(LineStyle.DashSmall); case PDFLineStyle.Dots: return(LineStyle.Dots); default: return(LineStyle.Solid); } }
/// <summary> /// Adds a line shape to the specified page. /// </summary> /// <param name="xCoordinate1">X-Coordinate 1 of the Line object.</param> /// <param name="yCoordinate1">Y-Coordinate 1 of the Line object.</param> /// <param name="xCoordinate2">X-Coordinate 2 of the Line object.</param> /// <param name="yCoordinate2">Y-Coordinate 2 of the Line object.</param> /// <param name="width">Width of hte line (the length?).</param> /// <param name="lineColor">Color of the line.</param> /// <param name="lineStyle">Style of the line (solid, dotted, dash, dash-large, dash-small)</param> public void PDFAddLine(float xCoordinate1, float yCoordinate1, float xCoordinate2, float yCoordinate2, float width, PDFColor lineColor, PDFLineStyle lineStyle) { throw new System.NotImplementedException(); }