Method SetTimeZoneAsUtcOffset
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetTimeZoneAsUtcOffset(double)
Sets the time zone to the first of AutoCAD's zones of an offset from universal time, as AutoCAD's
SetTimeZoneAsUtcOffset: -7 gives Mountain rather than Arizona or Mazatlan.
public DxfTimeZone SetTimeZoneAsUtcOffset(double offset)
Parameters
offsetdoubleThe hours ahead of universal time, as 5.5 for India.
Returns
- DxfTimeZone
The zone set.
Exceptions
- ArgumentOutOfRangeException
Thrown when no zone of AutoCAD is that many hours ahead.
- InvalidOperationException
Thrown when the zone changes in a file older than R2007 (AC1021), which has no such variable.