StructSize
Size of the ViewerInfo structure. You must set this field.
ViewerID
Identifier of the viewer instance. Each viewer instance has a unique
identifier that cannot be repeated during a FAR session.
FileName
Full path and name of the file beeing viewed.
FileSize
FilePos
Current file position (absolute offset in bytes).
Variable of
FARINT64 type.
WindowSizeX, WindowSizeY
Width and height of the viewer window.
Options
Describes viewer options state.
Can be a combination of the following flags (
VIEWER_OPTIONS enum):
TabSize
Tabulation size.
CurMode
A variable of
ViewerMode type - additional
information about the view mode.
LeftPos
Position of the left border of the viewer window in the viewed text.
Reserved3
Reserved for future use.