API Reference
Class
OfficeFontProgramLoadResult
Successful result returned by an optional font-program provider.
Inheritance
- Object
- OfficeFontProgramLoadResult
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Constructors
public OfficeFontProgramLoadResult(IOfficeFontProgram program, Int32 decodedByteCount, Byte[] staticOpenTypeData = null) #Creates a successful provider result.
Parameters
- program OfficeIMO.Drawing.IOfficeFontProgram
- Decoded measurement and outline program.
- decodedByteCount System.Int32
- Total decoded bytes retained by the program.
- staticOpenTypeData System.Byte[] = null
- Optional independent sfnt snapshot that is safe to embed as a non-variable PDF font. Leave null when the provider cannot supply a normalized static sfnt snapshot, or for active variable-font instances that must be outlined.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IOfficeFontProgram Program { get; } #Decoded measurement and outline program.
public Int32 DecodedByteCount { get; } #Total decoded bytes retained by the program.
public Boolean CanEmbedAsStaticPdfFont { get; } #Whether the provider supplied a static sfnt program safe for PDF embedding.
public Byte[] StaticOpenTypeData { get; } #Returns an independent static sfnt snapshot when PDF embedding is safe.