locked
Layout the Geometry object (PathGemoetry) RRS feed

  • Question

  • How to place the PathGeometry object in the Parent controls layout system. 
    Monday, August 10, 2009 7:39 AM

All replies

  • eeerrp11,
    Im not sure I completely understand your quesiton....but let me answer and you tell me if its helpful.
    You cannot create a Geometry object directly because it is an abstract class. You need to use one of the derived classes such as:

    LineGeometry
    RectangleGeometry
    EllipseGeometery
    GeometeryGroup
    PathGeometery

    so when you create an instance of the Path class you need to set its single property, named Data.
    To set that property, you need to pass a Geometery object but it cannot be the base abstract class.

    I hope that helps
    Alex

    Wednesday, August 12, 2009 5:35 PM