Hi,
how can I set the PrintTextMode to PXC_PrintTextModes.Auto?
Regards,
Christian Freund
Set PrintTextMode to PXC_PrintTextModes.Auto
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
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.
-
- User
- Posts: 43
- Joined: Fri Mar 16, 2018 9:51 am
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
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 // Auto
Stefan
-
- User
- Posts: 43
- 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
-
- 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