Quick start


What properties to use to quickly make ready application with ATViewer OCX

  • First: before calling methods of OCX, set ParentWnd property to contol parent's window handle.

  • To open a file: call Open method with a filename (pass empty string - to close file).

  • To perform actions on file: call methods PrintDialog/PrintPreview/SelectAll/CopyToClipboard/etc.

  • Properties which are very useful: ModeDetect, MediaMode. Properties MediaFit, MediaFitOnlyBig, ImageResample, ImageScale are useful for media files.