Class
OfficeFontProgramLoadResult
OfficeIMO.Drawing
Successful result returned by an optional font-program provider.
Inheritance
- object
- OfficeFontProgramLoadResult
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Constructors
public OfficeFontProgramLoadResult(IOfficeFontProgram program, int decodedByteCount, byte[]? staticOpenTypeData = null) #Creates a successful provider result.
Parameters
- program OfficeIMO.Drawing.IOfficeFontProgram
- Decoded measurement and outline program.
- decodedByteCount int
- Total decoded bytes retained by the program.
- staticOpenTypeData 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
Properties
public IOfficeFontProgram Program { get; } #Decoded measurement and outline program.
public int DecodedByteCount { get; } #Total decoded bytes retained by the program.
public bool 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.