public virtual LeadSizeD GetTextSize(
string ,
AnnFont ,
LeadSizeD
)
'Declaration
Public Overridable Function GetTextSize( _
ByVal As String, _
ByVal As AnnFont, _
ByVal As LeadSizeD _
) As LeadSizeD
'Usage
Dim instance As AnnTextObjectRenderer
Dim text As String
Dim annFont As AnnFont
Dim layoutArea As LeadSizeD
Dim value As LeadSizeD
value = instance.GetTextSize(text, annFont, layoutArea)
- (CGSize)getTextSize:(NSString *)text font:(LTAnnFont *)annFont rect:(LeadRectD)rect
public LeadSizeD getTextSize(String text, AnnFont annFont, LeadSizeD layoutArea)
function Leadtools.Annotations.Rendering.AnnTextObjectRenderer.GetTextSize(
text ,
annFont ,
layoutArea
)
Parameters
- text
- Text to measure.
- annFont
- Font to use in measurement.
- layoutArea
- Clipping layout area.
Return Value
The size of the text in container units.