Share via


IStringSizeService Interface

Definition

Defines a service for calculating the size of text strings with different fonts and alignments.

public interface class IStringSizeService
public interface IStringSizeService
type IStringSizeService = interface
Public Interface IStringSizeService
Derived

Methods

GetStringSize(String, IFont, Single, HorizontalAlignment, VerticalAlignment)

Gets the size of a string when rendered with the specified font, font size, and alignments.

GetStringSize(String, IFont, Single)

Gets the size of a string when rendered with the specified font and font size.

Applies to