Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / TextLayout Class / TextLayout Constructor / TextLayout Constructor(Single)
Specifies the resolution (graphic units per inch).

In This Topic
    TextLayout Constructor(Single)
    In This Topic
    Initializes a new instance of the TextLayout class.

    If a TextLayout is created to be used with a GrapeCity.Documents.Drawing.GcGraphics, it is recommended to use the GrapeCity.Documents.Drawing.GcGraphics.CreateTextLayout method instead, as it ensures that properties such as Resolution and FontCollection are set up properly to be used with the graphics.

    Syntax
    'Declaration
     
    Public Function New( _
       ByVal resolution As System.Single _
    )
    public TextLayout( 
       System.float resolution
    )

    Parameters

    resolution
    Specifies the resolution (graphic units per inch).
    See Also