Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プログラムで Geometry icon = myDrawingImageobj.SOMETHING を取得しようとしています
図面イメージからジオメトリ データを抽出する方法はありますか?
DrawingImage のDrawingプロパティが実際に を保持している場合、次のGeometryDrawingように単純にキャストできます。
Drawing
GeometryDrawing
var geometryDrawing = (GeometryDrawing)myDrawingImageobj.Drawing; var icon = geometryDrawing.Geometry;