←Select platform

GetTextSize Method (AnnTextObjectRenderer)

Summary

Measure the text size and return the result.

Syntax

C#
VB
Java
Objective-C
WinRT C#
Public Overridable Function GetTextSize( _ 
   ByVal text As String, _ 
   ByVal annFont As Leadtools.Annotations.Core.AnnFont, _ 
   ByVal layoutArea As Leadtools.LeadSizeD _ 
) As Leadtools.LeadSizeD 
- (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.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Rendering Assembly
Click or drag to resize