Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Interface

IOfficeBoundedFontProgram

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers abstract

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, Int32 maximumPointCount, CancellationToken cancellationToken) #
Returns: List<List<OfficePoint>>

Returns externally shaped contours while enforcing the maximum total point count.

Parameters

text System.String requiredposition: 0
result OfficeIMO.Drawing.OfficeTextShapingResult requiredposition: 1
x System.Double requiredposition: 2
y System.Double requiredposition: 3
fontSize System.Double requiredposition: 4
maximumPointCount System.Int32 requiredposition: 5
cancellationToken System.Threading.CancellationToken requiredposition: 6
public abstract List<List<OfficePoint>> GetTextContoursBounded(String text, Double x, Double y, Double fontSize, Int32 maximumPointCount, CancellationToken cancellationToken) #
Returns: List<List<OfficePoint>>

Returns contours while enforcing the maximum total point count.

Parameters

text System.String requiredposition: 0
x System.Double requiredposition: 1
y System.Double requiredposition: 2
fontSize System.Double requiredposition: 3
maximumPointCount System.Int32 requiredposition: 4
cancellationToken System.Threading.CancellationToken requiredposition: 5