Class ImageDefinitions
Represents a collection of image definitions.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: netDxf.Collections
Assembly: CADability.dll
Syntax
public sealed class ImageDefinitions : TableObjects<ImageDefinition>, IEnumerable<ImageDefinition>, IEnumerable
Methods
| Improve this Doc View SourceRemove(ImageDefinition)
Removes an image definition.
Declaration
public override bool Remove(ImageDefinition item)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageDefinition | item | ImageDefinition to remove from the document. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the image definition has been successfully removed, or false otherwise. |
Overrides
netDxf.Collections.TableObjects<netDxf.Objects.ImageDefinition>.Remove(netDxf.Objects.ImageDefinition)
Remarks
Any image definition referenced by objects cannot be removed.
Remove(String)
Removes an image definition.
Declaration
public override bool Remove(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | ImageDefinition name to remove from the document. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the image definition has been successfully removed, or false otherwise. |
Overrides
netDxf.Collections.TableObjects<netDxf.Objects.ImageDefinition>.Remove(System.String)
Remarks
Any image definition referenced by objects cannot be removed.
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable