TryGetCid(CharacterCode, out Int32) Method

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Looks up a code's character mapping (cidchar, cidrange), in this CMap and then its parents.

public bool TryGetCid(CharacterCode code, scoped out int cid)

Parameters

cid
Int32

The CID; 0 when there is none.

Returns

Boolean
Whether the code is mapped; never for an invalid code or a CID past 65,535.

Remarks

ISO 32000-2 §9.7.6.2; Adobe TN 5014 §5.4 (a using CMap's mappings win over its parent's).