Skip to main content

Description

Sets the current measure magnitude. Returns TRUE if the call has succeeded, FALSE otherwise. Caution: the current measure magnitude is reset to the default magnitude of the map during the execution of the OpenFile, AsyncOpenFile, ImportTXT and CreateMap methods.

Syntax

  • object.SetMagnitude(short iMagnitude) as Boolean
  • object: Virtual Photometric Lab
  • iMagnitude: index of the magnitude

VB script example

IronPython example