CadImage Class

Cad image class
Inheritance Hierarchy

Namespace:  Aspose.CAD.FileFormats.Cad
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 20.3
Syntax
public class CadImage : Image

The CadImage type exposes the following members.

Constructors
  NameDescription
Public methodCadImage
Initializes a new instance of the CadImage class.
Properties
  NameDescription
Public propertyAppIdTables
Gets or sets the application identifier tables.
Public propertyCode exampleAttributes
Gets the attributes collection.
(Inherited from Image.)
Public propertyBackgroundColor Obsolete.
Gets or sets a value for the background color.
(Inherited from Image.)
Public propertyBlockEntities
Gets or sets the block entities.
Public propertyBlocksTables
Gets or sets the blocks tables.
Public propertyCode exampleBounds
Gets the image bounds.
(Inherited from Image.)
Public propertyCadAcds
Gets or sets the CadAcds list
Public propertyClassEntities
Gets or sets the class entities.
Public propertyCode exampleContainer
Gets the Image container.
(Inherited from Image.)
Public propertyDataStreamContainer
Gets the object's data stream.
(Inherited from DataStreamSupporter.)
Public propertyDefaultFont
Gets or sets the default font.
Public propertyDefaultLineWeight
Gets or sets the default line weight.
Public propertyDimensionStyles
Gets or sets the dimension styles.
Public propertyDisposed
Gets a value indicating whether this instance is disposed.
(Inherited from DisposableObject.)
Public propertyEntities
Gets or sets the entities.
Public propertyFileEncoding
Gets file's encoding
Public propertyHasBackgroundColor Obsolete.
Gets or sets a value indicating whether image has background color.
(Inherited from Image.)
Public propertyHeader
Gets or sets the header.
Public propertyHeight
Gets the image height.
(Overrides ImageHeight.)
Public propertyIsCached
Gets a value indicating whether object's data is cached currently and no data reading is required.
(Overrides DataStreamSupporterIsCached.)
Public propertyLayers
Gets or sets the layers.
Public propertyLayouts
Gets the layouts.
Public propertyLineTypes
Gets or sets the dimension styles.
Public propertyMaxPoint
Gets the max point.
Public propertyMinPoint
Gets the min point.
Public propertyObjects
Gets or sets the objects.
Public propertyCode examplePalette
Gets or sets the color palette.
(Inherited from Image.)
Public propertyCode exampleSize
Gets the image size.
(Inherited from Image.)
Public propertySpecifiedEncoding
Gets or sets the specified encoding.
Public propertySpecifiedMifEncoding
Gets or sets the specified MIF character encoding
Public propertyStyles
Gets or sets the styles.
Public propertyThumbnailImage
Gets or sets the thumbnail image.
Public propertyUCSs
Gets or sets the uc ss.
Public propertyCode exampleUnitType
Gets current unit type.
(Inherited from Image.)
Public propertyViewPorts
Gets or sets the view ports.
Public propertyViews
Gets or sets the views.
Public propertyWidth
Gets the image width.
(Overrides ImageWidth.)
Methods
  NameDescription
Public methodCacheData
Caches the data and ensures no additional data loading will be performed from the underlying DataStreamContainer.
(Overrides DataStreamSupporterCacheData.)
Public methodCode exampleCanSave
Determines whether image can be saved to the specified file format represented by the passed save options.
(Inherited from Image.)
Public methodDispose
Disposes the current instance.
(Inherited from DisposableObject.)
Protected methodDoAfterSave
Does the after save.
(Inherited from DataStreamSupporter.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the DisposableObject class.
(Inherited from DisposableObject.)
Public methodCode exampleGetAttributeValue
Gets attribute value.
(Inherited from Image.)
Protected methodGetFitRectangle(Rectangle)
Gets rectangle which fits the current image.
(Inherited from Image.)
Protected methodGetFitRectangle(Rectangle, Int32)
Gets rectangle which fits the current bitmap taking into account the pixels passed. The passed pixels array count should be equal to the fitting rectangle size.
(Inherited from Image.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnDataStreamContainerChanging
Called when data stream container is changing.
(Inherited from DataStreamSupporter.)
Protected methodOnPaletteChanged
Called when palette is changed.
(Inherited from Image.)
Protected methodOnPaletteChanging
Called when palette is changing.
(Inherited from Image.)
Protected methodReleaseContents
Releases the contents of image - all entities, objects, etc, so it won't hold any references so memory could be collected
(Overrides ImageReleaseContents.)
Protected methodReleaseManagedResources
Releases the managed resources. Make sure no unmanaged resources are released here, since they may have been already released.
(Inherited from Image.)
Protected methodReleaseUnmanagedResources
Releases the unmanaged resources. Make sure no managed resources are released here, since they may have been already released.
(Inherited from DisposableObject.)
Public methodRemoveEntity
Removes enity.
Public methodRemoveEntityAt
Removes entity by its position.
Public methodCode exampleSave
Saves the image data to the underlying stream.
(Inherited from Image.)
Public methodSave(Stream)
Saves the object's data to the specified stream.
(Inherited from DataStreamSupporter.)
Public methodSave(String)
Saves the object's data to the specified file location.
(Inherited from DataStreamSupporter.)
Public methodSave(String, Boolean)
Saves the object's data to the specified file location.
(Inherited from DataStreamSupporter.)
Public methodCode exampleSave(Stream, ImageOptionsBase)
Saves the image's data to the specified stream in the specified file format according to save options.
(Inherited from Image.)
Public methodCode exampleSave(String, ImageOptionsBase)
Saves the object's data to the specified file location in the specified file format according to save options.
(Inherited from Image.)
Protected methodSaveData
Saves the object's data to the specified stream.
(Overrides DataStreamSupporterSaveData(Stream).)
Public methodToString (Inherited from Object.)
Public methodUpdateSize
Updates size of an image after changes, that may affect initial size, e.g. removing of entities. MinPoint, MaxPoint, Width and Height properties of image are updated.
Protected methodVerifyNotDisposed
Verifies that the current instance is not disposed.
(Inherited from DisposableObject.)
Fields
  NameDescription
Protected fieldloadOptions
Options this image was loaded with.
(Inherited from Image.)
Protected fieldTimeout
The timeout to wait for synchronization
(Inherited from DataStreamSupporter.)
Protected fieldunitType
Unit type of an image.
(Inherited from Image.)
See Also