Class CidGlyphWidths
Font glyph widths object
Inheritance
Implements
Namespace: IronSoftware
Assembly: IronPdf.dll
Syntax
public class CidGlyphWidths : Object, ICidGlyphWidths
Use CidGlyphWidths in IronPDF when a C# application works with Iron Software API. It represents font glyph widths object.
CidGlyphWidths matters when an application needs to configure or invoke Iron Software API from C# code. The class encapsulates the related options and behavior in a single object that is set up once and reused across render or processing calls. Typical scenarios include batch generation pipelines, templated document workflows, and integration with existing C# document services.
To use CidGlyphWidths, instantiate or obtain it from the relevant entry point in the IronPDF C# API. Key properties include IsArray, Values, ValuesList. Assign options or invoke methods on the instance to configure or perform the operation.
using IronPdf;
// Obtain CidGlyphWidths from the relevant entry point in the IronPDF API
void Configure(CidGlyphWidths instance)
{
var current = instance.IsArray;
}For the broader workflow, see the IronPDF C# documentation for related how-to guides and examples. For broader context, the Iron Software API portion of the IronPDF C# API contains related types that work with CidGlyphWidths directly. CidGlyphWidths exposes additional members beyond those highlighted above; the reference tables on this page list the full set. In application code, treat CidGlyphWidths as a configured object that is constructed once and reused across operations rather than instantiated per call. Configuration is generally idempotent: assigning the same property value twice has the same effect as assigning it once. For diagnostic purposes, inspect the relevant CidGlyphWidths property after each operation to confirm the configured state. See the constructors, properties, and methods tables below for the complete API surface of CidGlyphWidths. Application code typically obtains or instantiates a single CidGlyphWidths and shares it across multiple IronPDF operations rather than recreating it per call. For multi-threaded scenarios, follow the threading guidance for the relevant IronPDF entry point; CidGlyphWidths instances are not assumed to be thread-safe unless documented.
Properties
IsArray
True if the values should be interpreted as an array, False if it is a single value
Declaration
public bool IsArray { get; protected set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Values
Value array, interpreted differently depending what values preceeded it
Declaration
public IReadOnlyList<float> Values { get; protected set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IReadOnlyList<System.Single> |
ValuesList
Declaration
public float[] ValuesList { get; protected set; }
Property Value
| Type | Description |
|---|---|
| System.Single[] |