Hi,
how can I set the PrintTextMode to PXC_PrintTextModes.Auto?
Regards,
Christian Freund
Set PrintTextMode to PXC_PrintTextModes.Auto
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
Freund
- User
- Posts: 44
- Joined: Fri Mar 16, 2018 9:51 am
-
Stefan - PDF-XChange
- Site Admin
- Posts: 19930
- Joined: Mon Jan 12, 2009 8:07 am
Re: Set PrintTextMode to PXC_PrintTextModes.Auto
Hello Freund,
You would use the TextMode enumerators in a way like below:
or
Kind regards,
Stefan
You would use the TextMode enumerators in a way like below:
Code: Select all
PDFC.Inst.Settings("Operations.PrintPages.TextMode").v = PXC_PrintTextModes.PrintText_Auto;Code: Select all
PDFC.Inst.Settings("Operations.PrintPages.TextMode").v = 0 // AutoStefan
-
Freund
- User
- Posts: 44
- Joined: Fri Mar 16, 2018 9:51 am
Re: Set PrintTextMode to PXC_PrintTextModes.Auto
Okay,
and in Core not Editor?
I dont have any visual interface.
I only have to open an file and print it. I use DrawToDevice.
I can set
IPXC_PageRenderParams pRparams = g_Inst.CreateRenderParams();
pRparams.TextSmoothMode = PXC_TextSmoothMode.TSM_ClearType;
But not TextModes to PXC_PrintTextModes.PrintText_Auto
Regards
Christian
and in Core not Editor?
I dont have any visual interface.
I only have to open an file and print it. I use DrawToDevice.
I can set
IPXC_PageRenderParams pRparams = g_Inst.CreateRenderParams();
pRparams.TextSmoothMode = PXC_TextSmoothMode.TSM_ClearType;
But not TextModes to PXC_PrintTextModes.PrintText_Auto
Regards
Christian
-
Sasha - PDF-XChange
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Set PrintTextMode to PXC_PrintTextModes.Auto
Hello Freund,
When talking about that method, the default value of the TextMode is Auto. If you set the DDF_AllFontsAsCuves flag (DrawToDevice nFlags argument) then the Text mode will be set as PrintText_OutlineAlways. And if you set the DDF_EmbeddedFontAsCurves flag then the text mode will be set as PrintText_OutlineForEmbeddFont.
Cheers,
Alex
When talking about that method, the default value of the TextMode is Auto. If you set the DDF_AllFontsAsCuves flag (DrawToDevice nFlags argument) then the Text mode will be set as PrintText_OutlineAlways. And if you set the DDF_EmbeddedFontAsCurves flag then the text mode will be set as PrintText_OutlineForEmbeddFont.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ