Package com.ms.fx Previous
Previous
Contents
Contents
Index
Index
Next
Next

Class FxMapFont

Constructor , Methods

public class FxMapFont 
{
  // Constructor
  public FxMapFont(String s, Font f);
  // Methods
  public boolean isComplete();
  public boolean getNumMappingSections();
  public FxMapFontMappingSection getMappingSection();
}

A class which uses a base font and a string, and maps the string making sure that the font can handle the entire string. If it cannot handle the string, fonts are suggested which can be used to replace of defined substrings.


Constructor


FxMapFont

public FxMapFont(String s, Font f);

Takes a string and base font and prepares the font mapping.

ParameterDescription
s The string to map.
f The base font.


Methods


isComplete

public boolean isComplete();

Returns true if the string fits in the font.

Return Value:

Currently returns false.


getNumMappingSections

public boolean getNumMappingSections();

Determines how many maps are required.

Return Value:

Currently returns false.


getMappingSection

public FxMapFontMappingSection getMappingSection();

Aquires a text run.

Return Value:

Returns an FxMapFontMappingSection object.

Remarks:

Currently returns null.



Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.