IStringSizeService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |