Class LinearUnitClass
[Guid("DE162780-1DD1-11B2-BF4F-08002022F573")]
[ClassInterface(ClassInterfaceType.None)]
public class LinearUnitClass : LinearUnit, IESRISpatialReferenceGEN, IESRISpatialReferenceGEN2, ILinearUnit, IUnit, ILinearUnitEdit, ISpatialReferenceInfo, IClone, IPersistStream, IPersist, IESRISpatialReference, ISupportErrorInfo, ISpatialReferenceAuthority
- Inheritance
-
LinearUnitClass
- Implements
- Inherited Members
Constructors
LinearUnitClass()
public LinearUnitClass()
Explicit Interface Implementations
Abbreviation
virtual string Abbreviation { get; }
Returns
Alias
virtual string Alias { get; }
Returns
Assign(IClone)
Assigns the properties of src to the receiver.
virtual void Assign(IClone src)
Parameters
srcIClone
AuthorityName
The name of the defining authority for this object.
virtual string AuthorityName { get; }
Returns
Clone()
Clones the receiver and assigns the result to *clone.
virtual IClone Clone()
Returns
Code
The code identifying this object relative to its authority. For the EPSG authority, this will initially be the WKID (factory code).
virtual int Code { get; }
Returns
ConversionFactor
virtual double ConversionFactor { get; }
Returns
Define(ref object, ref object, ref object, ref object, ref object)
Defines the properties of the linear unit.
virtual void Define(ref object Name, ref object Alias, ref object Abbreviation, ref object Remarks, ref object MetersPerUnit)
Parameters
Define(string, int, string)
Defines the authority-related metadata properties for this spatial reference object.
virtual void Define(string AuthorityName, int authorityCode, string authorityVersion)
Parameters
DefineEx(string, string, string, string, ref double)
Defines the properties of the linear unit.
virtual void DefineEx(string Name, string Alias, string Abbreviation, string Remarks, ref double MetersPerUnit)
Parameters
ESRISpatialReferenceSize
The number of bytes required to hold the persistant representation of this spatial reference component.
virtual int ESRISpatialReferenceSize { get; }
Returns
ExportToESRISpatialReference(out string, out int)
Exports this spatial reference component to a buffer.
virtual void ExportToESRISpatialReference(out string str, out int cBytesWrote)
Parameters
ExportToESRISpatialReference2(out string, out int)
Exports this spatial reference component to a buffer.
virtual void ExportToESRISpatialReference2(out string str, out int cBytesWrote)
Parameters
FactoryCode
virtual int FactoryCode { get; }
Returns
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
GetSizeMax(out _ULARGE_INTEGER)
virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
IESRISpatialReferenceGEN2_ESRISpatialReferenceSize
The number of bytes required to hold the persistant representation of this spatial reference component.
virtual int IESRISpatialReferenceGEN2_ESRISpatialReferenceSize { get; }
Returns
IESRISpatialReferenceGEN2_ImportFromESRISpatialReference(string, out int)
Defines this spatial reference component from the specified ESRISpatialReference buffer.
virtual void IESRISpatialReferenceGEN2_ImportFromESRISpatialReference(string str, out int cBytesRead)
Parameters
IESRISpatialReference_ESRISpatialReferenceSize
The number of bytes required to hold the persistant representation of this spatial reference component.
virtual int IESRISpatialReference_ESRISpatialReferenceSize { get; }
Returns
IESRISpatialReference_ExportToESRISpatialReference(out string, out int)
Exports this spatial reference component to a buffer.
virtual void IESRISpatialReference_ExportToESRISpatialReference(out string str, out int cBytesWrote)
Parameters
IESRISpatialReference_ImportFromESRISpatialReference(string, out int)
Defines this spatial reference component from the specified ESRISpatialReference buffer.
virtual void IESRISpatialReference_ImportFromESRISpatialReference(string str, out int cBytesRead)
Parameters
IPersistStream_GetClassID(out Guid)
virtual void IPersistStream_GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
ISpatialReferenceInfo_Abbreviation
The abbreviated name of this spatial reference component.
virtual string ISpatialReferenceInfo_Abbreviation { get; }
Returns
ISpatialReferenceInfo_Alias
The alias of this spatial reference component.
virtual string ISpatialReferenceInfo_Alias { get; }
Returns
ISpatialReferenceInfo_FactoryCode
The factory code (WKID) of the spatial reference.
virtual int ISpatialReferenceInfo_FactoryCode { get; }
Returns
Remarks
The factory code is an integer identifier that is unique by projection engine object type, such as a projected coordinate system. You can use a factory code in the ISpatialReferenceFactory::CreateProjectedCoordinateSystem method for example. If you create a custom projected coordinate system, the factory code is zero.
ISpatialReferenceInfo_Name
The name of this spatial reference component.
virtual string ISpatialReferenceInfo_Name { get; }
Returns
ISpatialReferenceInfo_Remarks
The comment string of this spatial reference component.
virtual string ISpatialReferenceInfo_Remarks { get; }
Returns
IUnit_Abbreviation
virtual string IUnit_Abbreviation { get; }
Returns
IUnit_Alias
virtual string IUnit_Alias { get; }
Returns
IUnit_ConversionFactor
The conversion factor of the unit to the base.
virtual double IUnit_ConversionFactor { get; }
Returns
IUnit_FactoryCode
virtual int IUnit_FactoryCode { get; }
Returns
IUnit_Name
virtual string IUnit_Name { get; }
Returns
IUnit_Remarks
virtual string IUnit_Remarks { get; }
Returns
ImportFromESRISpatialReference(string, out int)
Defines this spatial reference component from the specified ESRISpatialReference buffer.
virtual void ImportFromESRISpatialReference(string str, out int cBytesRead)
Parameters
InterfaceSupportsErrorInfo(ref Guid)
virtual void InterfaceSupportsErrorInfo(ref Guid riid)
Parameters
riidGuid
IsDirty()
virtual void IsDirty()
IsEqual(IClone)
Indicates if the receiver and other have the same properties.
virtual bool IsEqual(IClone other)
Parameters
otherIClone
Returns
IsIdentical(IClone)
Indicates if the receiver and other are the same object.
virtual bool IsIdentical(IClone other)
Parameters
otherIClone
Returns
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
MetersPerUnit
The meters per unit for a coordinate system.
virtual double MetersPerUnit { get; }
Returns
Name
virtual string Name { get; }
Returns
Remarks
virtual string Remarks { get; }
Returns
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
Parameters
Version
The version of this spatial reference object.
virtual string Version { get; }