I have tried myself but didn't updating as "FitWidth" in the initial view.
PdfAction pageAct = PdfAction.GotoLocalPage(1, new
PdfDestination(PdfDestination.Fit), stamper.Writer);
stamper.Writer.SetOpenAction(pageAct);
Fit results Default and FITBH,FITBV,FITR,FITV,FIT,FITH results
sase1984 wrote:
> Is this application for all pages or do we need to set page action for each
> page?
An open action is an action that is triggered when the document is
opened... Try it out and see for yourself.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.in
Is this application for all pages or do we need to set page action for each
page?
Regards,
Selvakumar
1T3XT info wrote:
>
> sase1984 wrote:
>> Dear All,
>>
>> I have the pdf which is in “Defalut” magnification and need to be
>> modified
>> to “FitWidth”. How to change this in general document
sase1984 wrote:
> Dear All,
>
> I have the pdf which is in “Defalut” magnification and need to be modified
> to “FitWidth”. How to change this in general document settings using
> ITextsharp?
Create a PdfAction that jumps to a page with a PdfDestination
and use that as Open Action.
--
This answe
Dear All,
I have the pdf which is in “Defalut” magnification and need to be modified
to “FitWidth”. How to change this in general document settings using
ITextsharp?
Document Properties -> Initial View -> Magnification -> FitWidth
Regards,
Selvakumar
--
View this message in context:
http: