Class that encapsulates properties of a PdfCanvas related to stroking operations.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.PdfPen

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public sealed class PdfPen
VB
Public NotInheritable Class PdfPen

The PdfPen type exposes the following members.

Properties

  NameDescription
Public propertyColor
Gets or sets the color to be used for stroking.
Public propertyDashPattern
Gets or sets the line dash pattern.
Public propertyEndCap
Gets or sets the PdfLineCap value specifying the shape of the endpoints for any open path that is stroked.
Public propertyLineJoin
Gets or sets the PdfLineJoin value specifying the shape of joints between connected segments of a stroked path.
Public propertyMiterLimit
Gets or sets the miter limit of this pen.
Public propertyOpacity
(PDF 1.4) Gets or sets the opacity value in percent to be used for stroking operations.
Public propertyPattern
Gets or sets the pattern to be used for stroking.
Public propertyWidth
Gets or sets the width of this pen.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides Object.ToString().)

See Also