ViewportGeometryDeviceContextRasterImage Method

Draws the specified raster image.

Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public abstract bool DeviceContextRasterImage(
        Point3d origin,
        Vector3d u,
        Vector3d v,
        Matrix2d pixel,
        ObjectId entityId,
        ImageOrg imageOrg,
        int imageWidth,
        int imageHeight,
        short imageColorDepth,
        bool transparency,
        ImageSource source,
        Vector3d unRotated,
        ImageOrg originalImage,
        Matrix2d unRotatedPixel,
        int unRotatedImageWidth,
        int unRotatedImageHeight
)

Parameters

origin  Point3d
[in] Image origin.
u  Vector3d
[in] Image width vector.
v  Vector3d
[in] Image height vector.
pixel  Matrix2d
[in] Image pixel coordinate to display the coordinate transformation matrix.
entityId  ObjectId
[in] Persistent object identifier of the image.
imageOrg  ImageOrg
[in] Image format organization.
imageWidth  Int32
[in] Image width in pixels.
imageHeight  Int32
[in] Image height in pixels.
imageColorDepth  Int16
[in] Image color depth (bits per pixel).
transparency  Boolean
[in] Flag that indicates whether the image has transparent parts.
source  ImageSource
[in] Image source.
unRotated  Vector3d
[in] Non-rotated image origin.
originalImage  ImageOrg
[in] Original image format organization.
unRotatedPixel  Matrix2d
[in] Unrotated pixel-to-DC transformation matrix.
unRotatedImageWidth  Int32
[in] Unrotated source image width defined in pixels.
unRotatedImageHeight  Int32
[in] Unrotated source image height defined in pixels.

Return Value

Boolean
true. This method also throws a corresponding exception if it fails.
See Also

©  Bricsys NV. All rights reserved.