Property for "Show Shadow Gradients"

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

RudolfErnst
User
Posts: 73
Joined: Tue Oct 14, 2008 2:14 pm

Property for "Show Shadow Gradients"

Post by RudolfErnst »

Hi all,

is there a property to turn the attribute "Show Shadow Gradients" off. I can't find anything in the docs. I use the ActiveX plugin.

kind regards
Rudi
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Property for "Show Shadow Gradients"

Post by Vasyl - PDF-XChange »

Hi, Rudi.

To switch it off use the following code:

Code: Select all

ctrl.SetProperty("View.ShowAppWorkspaceShadow", "false", 0);
HTH
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.
RudolfErnst
User
Posts: 73
Joined: Tue Oct 14, 2008 2:14 pm

Re: Property for "Show Shadow Gradients"

Post by RudolfErnst »

Hello Vasyl,

"SetProperty("View.ShowAppWorkspaceShadow", "false", 0)" does not work for me in the ActiveX-Plugin.

I also set
setProperty("View.Colors.AppWorkspace", "White", 0);
setProperty("View.Colors.PagesBack", "White", 0);
This also does not work anymore in Version 2.5. These colors are always grey and "Show Shadow Gradients" is "On".

kind regards
Rudi
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Property for "Show Shadow Gradients"

Post by Vasyl - PDF-XChange »

Hi,

Please use:

Code: Select all

SetProperty("View.ShowAppWorkspaceShadow", 0, 0); // 0(zero) instead of "false"
Here is small bug, will be fixed in next build...

HTH.
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.
RudolfErnst
User
Posts: 73
Joined: Tue Oct 14, 2008 2:14 pm

Re: Property for "Show Shadow Gradients"

Post by RudolfErnst »

Hi,

this does also not work. I wait for the next build.

Thanks
Rudi
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Property for "Show Shadow Gradients"

Post by Vasyl - PDF-XChange »

You have installed the 2.5.189? This property working correctly in this build (not in 188)...
And note, the code:

Code: Select all

ctrl.SetProperty("View.ShowAppWorkspaceShadow", 0, 0);
-is PSEUDOCODE. You should pass to second parameter (has OLE-variant type) the valid integer number (0 or 1). For example, in Delphi:

Code: Select all

var
 dataIn:OleVariant;
 val : integer;
...
begin
   val := 0;
   dataIn := val;
   CoPDFXCview1.SetProperty('View.ShowAppWorkspaceShadow', dataIn, 0);
...
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.