[]
Initializes a new instance of the TextLayout class with Resolution set to 72 graphic units per inch.
[Obsolete("Instead, use the constructor with explicit 'resolution' parameter, or the GcGraphics.CreateTextLayout() method.", false)]
public TextLayout()
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.
public TextLayout(float resolution)
| Type | Name | Description |
|---|---|---|
| float | resolution | Specifies the resolution (graphic units per inch). |