Error processing SSI file
(Leadtools.Annotations.Core)

Show in webframe

Stroke Property (AnnObject)






Gets or sets the AnnStroke associated with this AnnObject.
Syntax
public AnnStroke Stroke {get; set;}
'Declaration
 
Public Property Stroke As AnnStroke
public AnnStroke Stroke {get; set;}
@property (nonatomic) LTAnnStroke* stroke;
public AnnStroke getStroke()
public void setStroke(AnnStroke stroke)
            
 
get_Stroke();
set_Stroke(value);
Object.defineProperty('Stroke');

Property Value

The AnnStroke used to draw this AnnObject. The default value is a solid red stroke with length of 1.
Remarks

This property should be used to trace the outline of this object. Each object renderer is responsible for determining whether to use this property and what the outline of the object is. For example, the renderer for AnnRectangleObject will use this property to draw the rectangle area border. Setting Stroke to null will draw a rectangle without a border (only filled, depending on the value of Fill).

Example

For an example, refer to AnnContainer.

Requirements

Target Platforms

See Also

Reference

AnnObject Class
AnnObject Members

Error processing SSI file
   Leadtools.Annotations.Core requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features