Pen Class
Represents a type which describes how a shape is outlined.
- Inheritance:
- Pen
Properties
CompoundType
Gets or sets the compound line type.
public PenCompoundType CompoundType { get; set; }
Public Property CompoundType As PenCompoundType
Property Value
The compound line type.
Remarks
CompoundType is currently not supported when exporting a document to PDF, XPS or image file formats.
Fill
Gets the fill of the outline produced by this Pen.
Property Value
Width
Gets or sets the thickness of the stroke produced by this Pen.
Property Value
Exceptions
Value cannot be negative.
Methods
ToString()
Returns
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).