VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Svg Namespace / WebAnnotationPenJS type / set_StartCap Method
Object that defines style of line cap. example // This code shows how to change start cap of WebAnnotationPenJS object. outline.set_StartCap(new Vintasoft.Imaging.Annotation.Svg.WebLineCapJS("Arrow", {width:30, height:30}));
In This Topic
    set_StartCap Method
    In This Topic
    Sets the cap style used at the beginning of lines drawn with the pen.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.Svg.WebAnnotationPenJS(width,
                                                                          color,
                                                                          lineJoin,
                                                                          miterLimit,
                                                                          dashStyle,
                                                                          dashPattern,
                                                                          startCap,
                                                                          endCap);
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type:  object
    
    returnValue = instance.set_StartCap(value);
    function set_StartCap( 
       value : object
    ) : any;

    Parameters

    value
    Object that defines style of line cap. example // This code shows how to change start cap of WebAnnotationPenJS object. outline.set_StartCap(new Vintasoft.Imaging.Annotation.Svg.WebLineCapJS("Arrow", {width:30, height:30}));
    Browser Compatibility
    9
    5
    15
    5
    See Also