'Declaration <ExtensionAttribute()> Public Overloads Shared Function CreatePen( _
ByVal drawingFactoryThe DrawingFactory.As DrawingFactory, _
ByVal penThe AnnotationPen object to convert.As Vintasoft.Imaging.Annotation.AnnotationPen, _
ByRef startLineCapA line cap that should be used for drawing of start cap of line.As DrawingLineCap, _
ByRef endLineCapA line cap that should be used for drawing of end cap of line.As DrawingLineCap _
) As IDrawingPen
[Extension()] public static IDrawingPen CreatePen(
DrawingFactory drawingFactory,
Vintasoft.Imaging.Annotation.AnnotationPen pen,
out DrawingLineCap startLineCap,
out DrawingLineCap endLineCap
)
[Extension()] public: static IDrawingPen* CreatePen(
DrawingFactory* drawingFactory,
Vintasoft.Imaging.Annotation.AnnotationPen* pen,
[PARAMFLAG::Out] DrawingLineCap* startLineCap,
[PARAMFLAG::Out] DrawingLineCap* endLineCap
)
[Extension()] public:
static IDrawingPen^ CreatePen(
DrawingFactory^ drawingFactory,
Vintasoft.Imaging.Annotation.AnnotationPen^ pen,
[Out] DrawingLineCap^ startLineCap,
[Out] DrawingLineCap^ endLineCap
)
Parameters
- drawingFactory
- The DrawingFactory.
- pen
- The AnnotationPen object to convert.
- startLineCap
- A line cap that should be used for drawing of start cap of line.
- endLineCap
- A line cap that should be used for drawing of end cap of line.
Return Value
The IDrawingPen object.