com.aspose.diagram

Class 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.