The PMF_LOADTYPE option of GpiPlayMetaFile determines which viewing transformations and graphics fields affect the metafile picture. The PMF_LOADTYPE option can have one of the values shown in the following table.
PMF_LOADTYPE Options for GpiPlayMetaFile
┌────────────────┬────────────────────────────────────────────┐ │Value │Description │ ├────────────────┼────────────────────────────────────────────┤ │LT_ORIGINALVIEW │Viewing transformations recorded in the │ │ │metafile are used in the target presentation│ │ │space. │ │ │ │ │ │If changes to the graphics field are │ │ │recorded in the metafile, the graphics field│ │ │in the target presentation space is updated,│ │ │and the picture is clipped to that graphics │ │ │field. │ │ │ │ │ │Changes to the default viewing │ │ │transformation recorded in the metafile are │ │ │used to update the default viewing │ │ │transformation in the target presentation │ │ │space. │ ├────────────────┼────────────────────────────────────────────┤ │LT_NOMODIFY │Any viewing transformations recorded in the │ │LT_DEFAULT │metafile are ignored. The metafile contents │ │ │are drawn in accordance with the current │ │ │viewing transformation in the target │ │ │presentation space. (Note that, if you also │ │ │specify RES_RESET, the current viewing │ │ │transformation is reset to its default │ │ │value.) │ │ │ │ │ │The picture is clipped to any graphics field│ │ │defined in the target presentation space, │ │ │and any graphics field recorded in the │ │ │metafile is ignored. │ └────────────────┴────────────────────────────────────────────┘
The PMF_RESET option RES_RESET changes values in the target presentation space. Therefore, the effect of the PMF_LOADTYPE option should always be considered in conjunction with the PMF_RESET option. For example, if you specify both RES_RESET and LT_NOMODIFY, the default viewing transformation in the target presentation space is updated with that from the metafile, even though LT_NOMODIFY means that such values should be ignored.