←Select platform

GetTextSize Method

Summary

Returns the size of a text with a AnnFont and clipping size.

Syntax

C#
VB
Java
Public Shared Function GetTextSize( _ 
   ByVal text As String, _ 
   ByVal font As Leadtools.Annotations.Core.AnnFont, _ 
   ByVal layoutArea As Leadtools.LeadSizeD _ 
) As Leadtools.LeadSizeD 
public LeadSizeD getTextSize(String text, AnnFont font, LeadSizeD layoutArea) 

Parameters

text
The source text string

font
The font to use

layoutArea
Clipping size to use.

Return Value

The size of the text.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly