Documents for PDF, .NET Edition Documentation
TextLayout Constructor

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > TextLayout Class : TextLayout Constructor
Specifies the resolution (graphic units per inch).
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 static constructor instead, as it ensures that properties such as resolution and font fallbacks are set up properly to be used with the graphics.

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

Parameters

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

Reference

TextLayout Class
TextLayout Members