ImageGear for .NET
GetStrokeMatrix Method
See Also  Send Feedback
ImageGear21.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEText Class : GetStrokeMatrix Method




options
ImGearPDETextFlags value that specifies whether index refers to the character offset from the beginning of the text object or the index of the text run in the text object. Must be either CHAR for a text character or RUN for a text run.
index
Index of the character or text run in the text object.

Glossary Item Box

Returns the transformation matrix for the line width when stroking individual text character or run.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

options
ImGearPDETextFlags value that specifies whether index refers to the character offset from the beginning of the text object or the index of the text run in the text object. Must be either CHAR for a text character or RUN for a text run.
index
Index of the character or text run in the text object.

Return Value

ImGearPDFFixedMatrix class object that that holds the stroke matrix of specified character or text run. This matrix is the transformation for line widths when stroking. The h and v values of the matrix are ignored.

Remarks

The line width parameter specifies the thickness of the line used to stroke a path. It is a non-negative number expressed in user space units; stroking a path entails painting all points whose perpendicular distance from the path in user space is less than or equal to half the line width. The effect produced in device space depends on the StrokeMatrix in effect at the time the path is stroked. See section '4.3.2 Details of Graphics State Parameters' of the PDF Reference for more details.

See Also

©2013. Accusoft Corporation. All Rights Reserved.