Click or drag to resize

AnnotationLineCap.LineCapSizeToString Method

Converts the annotation cap size to the string representation, which are used by JavaScript on client part

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public static AnnotationLineCap.StringSizes LineCapSizeToString(
	AnnotationLineCapStyle style,
	SizeF capSize,
	float lineWidth,
	bool legacy = false
)

Parameters

style
Type: Atalasoft.Annotate.AnnotationLineCapStyle
The style of the line cap.
capSize
Type: System.Drawing.SizeF
The size of line cap.
lineWidth
Type: System.Single
legacy (Optional)
Type: System.Boolean
Determine if legacy algorithm should be used. Default: false

Return Value

Type: AnnotationLineCap.StringSizes
Structure that contains a string representation of cap size
See Also