Table of Contents

Method TryGetProgram

Namespace
ReportWright.AspNetCore
Assembly
ReportWright.AspNetCore.dll

TryGetProgram(string, out byte[]?)

Gets a face's program by the file name StyleSheetFor(ReportPageModel, string) wrote.

public bool TryGetProgram(string fileName, out byte[]? program)

Parameters

fileName string

The file name, PostScriptName.ttf.

program byte[]

The bytes.

Returns

bool

False when no stylesheet has named that face.