setEmbeddingType Method
Specify font embedding mode.
Object.setEmbeddingType(tnEmbtype)
Parameters
tnEmbtype
Specify font embedding mode.
Value | Description |
---|---|
1 | Font not embeded. |
2 | To embed all characters of all used fonts. |
3 | To embed only the characters used. |
Remarks
Applies To: XFRX#INIT, XFRX#LISTENER, PDFL#INIT, oXFRX
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