Add additional font size to dropdown

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

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.
Post Reply
lidds
User
Posts: 453
Joined: Sat May 16, 2009 1:55 pm

Add additional font size to dropdown

Post by lidds » Thu Feb 27, 2020 3:42 pm

Some of my customers are working on large paper size drawings e.g. A0 paper size. At the moment the smallest font size you can select from the font size dropdown is "8 pt", is there a way that I could add 7, 6, 5, 4, 3, 2 pt to the dropdown?

Thanks in advance

Simon

User avatar
Sasha - Tracker Dev Team
User
Posts: 4938
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Add additional font size to dropdown

Post by Sasha - Tracker Dev Team » Fri Feb 28, 2020 7:32 am

Hi Simon,

A little illustration would help understanding what font size exactly are you referencing.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Willy Van Nuffel
User
Posts: 1435
Joined: Wed Jan 18, 2006 12:10 pm

Re: Add additional font size to dropdown

Post by Willy Van Nuffel » Fri Feb 28, 2020 8:44 am

I suppose it must be in the "Page Content Properties"-toolbar (Classic toolbars) or in the "Format"-ribbon (Ribbon UI), where the smallest value for the "Font Size" is "8 pt".

In case you like smaller values, you must type them manually.

Best regards.
Attachments
PDF-XChange Editor - Select Font Size 1.png
PDF-XChange Editor - Select Font Size 2.png

lidds
User
Posts: 453
Joined: Sat May 16, 2009 1:55 pm

Re: Add additional font size to dropdown

Post by lidds » Fri Feb 28, 2020 11:54 am

Hi,

Yes this was the font size dropdown I was referring to. I know you can enter a smaller value in the text field, however I was to add the values to the dropdown so the user can select them.

Is something like this possible
viewtopic.php?f=66&t=31093

Thanks

Simon

lidds
User
Posts: 453
Joined: Sat May 16, 2009 1:55 pm

Re: Add additional font size to dropdown

Post by lidds » Wed Mar 04, 2020 11:21 am

Is this possible?

Thanks

Simon

User avatar
Sasha - Tracker Dev Team
User
Posts: 4938
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Add additional font size to dropdown

Post by Sasha - Tracker Dev Team » Thu Mar 05, 2020 7:57 am

Hello Simon,

Here's what I'm thinking. You can create a custom command handler as listener https://gist.github.com/Polaringu/16bb2 ... 7cbe36f4e6
Then you will need the OnCreateNewCtl method, where you can obtain the overloaded IUIX_Obj control after you have called the same method of the old command handler. This object is a combo box - you should query the implementation of it and then just simply insert the needed values into it.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply