API Reference > OdPdfImport Classes > OdPdfImport Class > OdPdfImport Methods > OdPdfImport::setPreferableFontCallback Method
OdPdfImport::setPreferableFontCallback Method
Syntax
C++
virtual void setPreferableFontCallback(PreferableFontCallback callback) = 0;
Parameters 
Description 
PreferableFontCallback callback 
[in] A pointer to the function for selecting the preferred font. 

Sets a function to select the preferred font.

If the font name is changed using PreferableFontCallback, this takes precedence over the Type3TextDefaultFont option.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.