The scale argument is a real value in the inclusive range 0.001 - 1000.0. The return value is the previous scale value.
Within Xic, this flag can also be set from the panels available from the Convert Menu. The internal effect is to set or clear the InToLower or OutToLower variables. The return value is the previous setting of the flag.
Within Xic, this flag can also be set from the panels available from the Convert Menu. The internal effect is to set or clear the InToUpper or OutToUpper variables. The return value is the previous setting of the flag.
CGX | .cgx |
CIF | .cif |
GDSII | .gds, .str, .strm, .stream |
OASIS | .oas |
Only these extensions are recognized, however CGX and GDSII allow an additional .gz which will imply compression.
The scale factor used can be set with the SetConvertScale function. The windowing and flatting functions will be applied if the corresponding flags are set with the SetConvertFlags and SetConvertArea functions. The scale, flags and area rectangle can also be set from the Conversion pop-up in Xic.
The value 1 is returned on success, 0 otherwise, with possibly an error message available from GetError. This function is aliased to FromCGX, FromCIF, FromGDS, and FromOASIS for backward compatibility.