I am using Visual Basic 6 to develop a viewer application, but can not find the sample code to set value of "Text Gamma".
Please help.
Thanks a lot.
Robert
How to set value of "Text Gamma" ?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: How to set value of "Text Gamma" ?
Hi, Robert.
You may use the one undocumented integer property:Values range is: [125, 8000], default value is: 1000. You should modify it before document opening.
Cheers.
You may use the one undocumented integer property:
Code: Select all
ax.SetProperty("PageDisplay.TextGamma", 1500, 0);
Cheers.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.