CADability dotNET

The Picture type exposes the following members.

Constructors

  NameDescription
Protected methodPicture
Initializes a new instance of the Picture class

Methods

  NameDescription
Public methodClip
Clips the bitmap according to the provided shape and plane. The BitmapBits are replaced by transparent pixels, the original bits are lost. Setting another clip area doesn't restore already clipped pixels. (Ofcourse undo restores the original bitmap bits)
Public methodClone
Overrides Clone()()()()
(Overrides IGeoObjectImpl..::..Clone()()()().)
Public methodStatic memberConstruct
The only way to create a Picture. There are no public constructors for the Picture to assure that this is the only way to construct a Picture.
Public methodCopyGeometry (Overrides IGeoObjectImpl..::..CopyGeometry(IGeoObject).)
Public methodGet2DRepresentation (Overrides IGeoObjectImpl..::..Get2DRepresentation(Projection, GDIResources).)
Public methodGetBoundingCube (Overrides IGeoObjectImpl..::..GetBoundingCube()()()().)
Public methodGetExtent(Double) (Overrides IGeoObjectImpl..::..GetExtent(Double).)
Public methodGetExtent(Projection, ExtentPrecision) (Overrides IGeoObjectImpl..::..GetExtent(Projection, ExtentPrecision).)
Public methodGetQuadTreeItem (Overrides IGeoObjectImpl..::..GetQuadTreeItem(Projection, ExtentPrecision).)
Public methodGetShowProperties (Overrides IGeoObjectImpl..::..GetShowProperties(IFrame).)
Public methodHitTest(BoundingCube%, Double) (Overrides IGeoObjectImpl..::..HitTest(BoundingCube%, Double).)
Public methodHitTest(Projection..::..PickArea, Boolean) (Overrides IGeoObjectImpl..::..HitTest(Projection..::..PickArea, Boolean).)
Public methodHitTest(Projection, BoundingRect, Boolean) (Overrides IGeoObjectImpl..::..HitTest(Projection, BoundingRect, Boolean).)
Public methodModify
Overrides Modify(ModOp)
(Overrides IGeoObjectImpl..::..Modify(ModOp).)
Public methodPaintTo3D (Overrides IGeoObjectImpl..::..PaintTo3D(IPaintTo3D).)
Public methodPaintTo3DList (Overrides IGeoObjectImpl..::..PaintTo3DList(IPaintTo3D, ICategorizedDislayLists).)
Public methodPosition (Overrides IGeoObjectImpl..::..Position(GeoPoint, GeoVector, Double).)
Public methodPrePaintTo3D (Overrides IGeoObjectImpl..::..PrePaintTo3D(IPaintTo3D).)
Public methodPrepareDisplayList (Overrides IGeoObjectImpl..::..PrepareDisplayList(Double).)
Public methodSet
Sets the Data of the Bitmap.

Fields

  NameDescription
Public fieldStatic memberConstructor
Provide a delegate here if you want you Picture derived class to be created each time CADability creates a Picture.

Properties

  NameDescription
Public propertyBitmap
The bitmap, the contents of the Picture
Public propertyDirectionHeight
The location of the left side of the bitmap
Public propertyDirectionWidth
The location oth the lower baseline of the bitmap
Public propertyLocation
Position of the lower left point of the bitmap
Public propertyPath
The path where the Bitmap is located. This value is not used by the Picture object and may have any content. Usually it is the path and filename, especially when the object is beeing generated interactively by CADability's user interface. Setting the value does NOT load the specified bitmap. This must be done seperately by setting the Bitmap property

Events

  NameDescription
Public eventStatic memberConstructed
Event beeing raised when a Picture object has been created.

Explicit Interface Implementations

See Also