Interface
IOfficeBoundedFontProgram
OfficeIMO.Drawing
Optional bounded outline contract for font programs that can stop contour expansion promptly. Renderers use this seam for cancellation and untrusted-input output budgets while retaining compatibility with existing IOfficeFontProgram implementations.
Methods
public abstract List<List<OfficePoint>> GetShapedTextContoursBounded(string text, OfficeTextShapingResult result, double x, double y, double fontSize, int maximumPointCount, CancellationToken cancellationToken) #Returns externally shaped contours while enforcing the maximum total point count.
Parameters
- text string
- result OfficeIMO.Drawing.OfficeTextShapingResult
- x double
- y double
- fontSize double
- maximumPointCount int
- cancellationToken System.Threading.CancellationToken
Returns
List<List<OfficePoint>>public abstract List<List<OfficePoint>> GetTextContoursBounded(string text, double x, double y, double fontSize, int maximumPointCount, CancellationToken cancellationToken) #Returns contours while enforcing the maximum total point count.
Parameters
- text string
- x double
- y double
- fontSize double
- maximumPointCount int
- cancellationToken System.Threading.CancellationToken
Returns
List<List<OfficePoint>>