DioDocs for PDF
PerformLayout メソッド (TextLayout)

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Text 名前空間 > TextLayout クラス : PerformLayout メソッド
If true, RecalculateGlyphs will be called before performing the layout.
Determines the coordinates for all lines and glyph runs. Optionally calls RecalculateGlyphs prior to performing the layout.
シンタックス
'宣言
 
Public Function PerformLayout( _
   Optional ByVal recalculateGlyphsBeforeLayout As System.Boolean _
) As System.Boolean
public System.bool PerformLayout( 
   System.bool recalculateGlyphsBeforeLayout
)

パラメータ

recalculateGlyphsBeforeLayout
If true, RecalculateGlyphs will be called before performing the layout.

戻り値の型

true if the whole text fits in the bounds of TextLayout, false if some text doesn't fit in bounds and one of the Split* methods must be executed to move the rest of the text into another TextLayout instance.
解説
When all text and formatting have been specified on an instance of TextLayout, RecalculateGlyphs must be called on it to convert characters to glyphs. After that, PerformLayout(false) can be called multiple times for different layout parameters (such as MaxWidth and MaxHeight to create different layouts of the same text.When only a single layout for each text is needed, the two calls can be shortened to just one PerformLayout(true) call for convenience.
参照

TextLayout クラス
TextLayout メンバ
RecalculateGlyphs メソッド