Click or drag to resize

AnnotationLineCapLineCapSizeToString 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 AnnotationLineCapStringSizes LineCapSizeToString(
	AnnotationLineCapStyle style,
	SizeF capSize,
	float lineWidth,
	bool legacy = false
)

Parameters

style
Type: Atalasoft.AnnotateAnnotationLineCapStyle
The style of the line cap.
capSize
Type: System.DrawingSizeF
The size of line cap.
lineWidth
Type: SystemSingle
legacy (Optional)
Type: SystemBoolean
Determine if legacy algorithm should be used. Default: false

Return Value

Type: AnnotationLineCapStringSizes
Structure that contains a string representation of cap size
See Also