C# 클래스 Catfood.Shapefile.ShapeFactory

Static factory class to create shape objects from a shape record
파일 보기 프로젝트 열기: TNOCS/csTouch

공개 메소드들

메소드 설명
ParseShape ( byte shapeData, StringDictionary metadata, IDataRecord dataRecord ) : Shape

Creates a Shape object (or derived object) from a shape record

메소드 상세

ParseShape() 공개 정적인 메소드

Creates a Shape object (or derived object) from a shape record
Thrown if shapeData or metadata are null Thrown if shapeData is less than 12 bytes long Thrown if an error occurs parsing shapeData
public static ParseShape ( byte shapeData, StringDictionary metadata, IDataRecord dataRecord ) : Shape
shapeData byte The shape record as a byte array
metadata System.Collections.Specialized.StringDictionary Metadata associated with this shape (optional)
dataRecord IDataRecord IDataRecord associated with the metadata
리턴 Shape