How do I set 100% zoom magnification in PDF?

Q:

How do I set 100% zoom magnification in PDF?
Basically what I need is that a PDF viewer opens my document at 100% zoom magnification.

A:

You can tell the viewer to set the zoom to 100% default by setting document’s ‘OpenAction’:

doc.SetOpenAction(Action.CreateGoto(Destination.CreateXYZ(doc.GetPage(1), 0, 0, 1)));

The last parameter in CreateXYZ is the zoom factor (in rage 0…1). For more info please refer to PDFNet API Ref.