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
| Name | Type | Access | Description |
|---|---|---|---|
VerticeCoordinate | float[]? | Read/Write | Vertex coordinates as flat array [x1,y1, x2,y2, .]. |
Visibility | bool | Read/Write | Whether the line is visible. |
LineColorR | byte | Read/Write | Line color — red component (0-255). |
LineColorG | byte | Read/Write | Line color — green component (0-255). |
LineColorB | byte | Read/Write | Line color — blue component (0-255). |
LineColor | System.Drawing.Color | Read/Write | Line colour (System.Drawing compatible). |
LineWidth | int | Read/Write | Line width in points. |
BorderStyle | int | Read/Write | Border style indicator (PDF table-228 /BS /S code: 0=Solid, 1=Dashed, 2=Beveled, 3=Inset, 4=Underline). |
LineDashPattern | int[]? | Read/Write | Dash on/off lengths in points. |
Methods
| Signature | Description |
|---|---|
LineInfo() | Creates line parameters with defaults: visible, 1 point wide, no vertices. |