Drawings SDK Developer Guide > Working with .dwg Files > Working with Entities > Working with Specific Entitites > Working with Raster Images > Example of Working with a Raster Image
Example of Working with a Raster Image

A sample command for working with raster images is located in the Drawing\Examples\DevGuideCommands subdirectory of the ODA installation folder (for example, C:\Program Files\Open Design Alliance).

The sample command demonstrates working with raster images by creating and editing a raster image entity and then printing the following information about the created entity:

  • Source file name
  • Load status
  • Image size in pixels
  • Status of the kShow flag
  • Brightness value
  • Contrast value
  • Fade value
  • Origin point
  • U-vector
  • V-vector
  • Array of picture corners
  • isClipped flag
  • Clip boundary type
  • Clip boundary points
  • Clip inversion status

See Also

Working with Raster Images

Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.