com.aspose.words
Class MemoryFontSource

java.lang.Object
  extended by FontSourceBase
      extended by com.aspose.words.MemoryFontSource

public class MemoryFontSource 
extends FontSourceBase

Represents the single TrueType font file stored in memory.

Constructor Summary
MemoryFontSource(byte[] fontData)
           Ctor.
 
Property Getters/Setters Summary
byte[]getFontData()
           Binary font data.
intgetType()
           Returns the type of the font source. The value of the property is FontSourceType integer constant.
 

Constructor Detail

MemoryFontSource

public MemoryFontSource(byte[] fontData)
Ctor.
Parameters:
fontData - Binary font data.

Property Getters/Setters Detail

getFontData

public byte[] getFontData()
Binary font data.

getType

public int getType()
Returns the type of the font source. The value of the property is FontSourceType integer constant.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.