ImageGear .NET v25.1 - Updated
GetStrokeMatrix Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEText Class : GetStrokeMatrix Method
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 of the character or text run in the text object.
Returns the transformation matrix for the line width when stroking individual text character or run.
Syntax
'Declaration
 
Public Function GetStrokeMatrix( _
   ByVal options As ImGearPDETextFlags, _
   ByVal index As Integer _
) As ImGearPDFFixedMatrix
'Usage
 
Dim instance As ImGearPDEText
Dim options As ImGearPDETextFlags
Dim index As Integer
Dim value As ImGearPDFFixedMatrix
 
value = instance.GetStrokeMatrix(options, index)
public ImGearPDFFixedMatrix GetStrokeMatrix( 
   ImGearPDETextFlags options,
   int index
)
public: ImGearPDFFixedMatrix* GetStrokeMatrix( 
   ImGearPDETextFlags options,
   int index
) 
public:
ImGearPDFFixedMatrix^ GetStrokeMatrix( 
   ImGearPDETextFlags options,
   int index
) 

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

Reference

ImGearPDEText Class
ImGearPDEText Members
ImGearPDETextFlags Enumeration
ImGearPDFFixedMatrix Class