iTextSharp.text.pdf.PdfContentByte.SetLineDash C# (CSharp) Метод

SetLineDash() публичный Метод

public SetLineDash ( float value ) : void
value float
Результат void
        public void SetLineDash(float value)
        {
            content.Append("[] ").Append(value).Append(" d").Append_i(separator);
        }

Same methods

PdfContentByte::SetLineDash ( float unitsOn, float phase ) : void
PdfContentByte::SetLineDash ( float unitsOn, float unitsOff, float phase ) : void

Usage Example

Пример #1
1
 /**
 * @see com.lowagie.text.pdf.draw.DrawInterface#draw(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float)
 */
 public override void Draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y) {
     canvas.SaveState();
     canvas.SetLineWidth(lineWidth);
     canvas.SetLineCap(PdfContentByte.LINE_CAP_ROUND);
     canvas.SetLineDash(0, gap, gap / 2);
     DrawLine(canvas, llx, urx, y);
     canvas.RestoreState();
 }
All Usage Examples Of iTextSharp.text.pdf.PdfContentByte::SetLineDash
PdfContentByte