LineInfo

Overview

LineInfo is a class in Aspose.PDF FOSS for .NET.

Line drawing parameters for PdfContentEditor.DrawCurve.

This class declares 1 method for LineInfo objects in .NET programs. Available methods include: LineInfo. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: BorderStyle, LineColor, LineColorB, LineColorG, LineColorR, LineDashPattern, and 3 more.

Properties

NameTypeAccessDescription
VerticeCoordinatefloat[]?Read/WriteVertex coordinates as flat array [x1,y1, x2,y2, .].
VisibilityboolRead/WriteWhether the line is visible.
LineColorRbyteRead/WriteLine color — red component (0-255).
LineColorGbyteRead/WriteLine color — green component (0-255).
LineColorBbyteRead/WriteLine color — blue component (0-255).
LineColorSystem.Drawing.ColorRead/WriteLine colour (System.Drawing compatible).
LineWidthintRead/WriteLine width in points.
BorderStyleintRead/WriteBorder style indicator (PDF table-228 /BS /S code: 0=Solid, 1=Dashed, 2=Beveled, 3=Inset, 4=Underline).
LineDashPatternint[]?Read/WriteDash on/off lengths in points.

Methods

SignatureDescription
LineInfo()Creates line parameters with defaults: visible, 1 point wide, no vertices.

See Also

 English