ComponentOne Excel for .NET
C1.Excel Assembly / C1.Util Namespace / SvgRendering Class / DrawString Method / DrawString(String,Double,Double,Double,Double,Byte,Byte) Method
String to draw.
X-coordinate of string.
Y-coordinate of string.
Rendering width.
Rendering height.
Horizontal aligment (see aligment type).
Vertical aligment (see aligment type).

In This Topic
    DrawString(String,Double,Double,Double,Double,Byte,Byte) Method
    In This Topic
    Draw string at specified area with word wrap.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawString( _
       ByVal s As System.String, _
       ByVal x As System.Double, _
       ByVal y As System.Double, _
       ByVal w As System.Double, _
       ByVal h As System.Double, _
       Optional ByVal horz As System.Byte, _
       Optional ByVal vert As System.Byte _
    ) 
    public void DrawString( 
       System.string s,
       System.double x,
       System.double y,
       System.double w,
       System.double h,
       System.byte horz,
       System.byte vert
    )

    Parameters

    s
    String to draw.
    x
    X-coordinate of string.
    y
    Y-coordinate of string.
    w
    Rendering width.
    h
    Rendering height.
    horz
    Horizontal aligment (see aligment type).
    vert
    Vertical aligment (see aligment type).
    Remarks
    The alignment types: 00 - near, left or top aligment (by default) 01 - center or middle aligment 02 - far, right or bottom aligment 03 - justify or streach aligment
    See Also