setEmbeddingType Method

Specify font embedding mode.


Object.setEmbeddingType(tnEmbtype)

Parameters

tnEmbtype
 Specify font embedding mode.

ValueDescription
1Font not embeded.
2To embed all characters of all used fonts.
3To embed only the characters used.

Remarks

Applies To: XFRX#INIT, XFRX#LISTENERPDFL#INIToXFRX

XFRX version: 24.0 for oXFRX

Examples

LOCAL m.lnErr
m.loXFRX=EVALUATE([xfrx("XFRX#INIT")])
m.loXFRX.setEmbeddingType(3)
m.lnErr=m.loXFRX.SetParams("some.pdf",,,,.T.,,"PDF")
IF m.lnErr=0
ENDIF