Class VipsObject
Manage a NetVips.Internal.VipsObject.
Inheritance
System.Object
System.Runtime.ConstrainedExecution.CriticalFinalizerObject
System.Runtime.InteropServices.SafeHandle
VipsObject
Implements
System.IDisposable
Inherited Members
System.Runtime.InteropServices.SafeHandle.handle
System.Runtime.InteropServices.SafeHandle.Close()
System.Runtime.InteropServices.SafeHandle.DangerousAddRef(System.Boolean)
System.Runtime.InteropServices.SafeHandle.DangerousGetHandle()
System.Runtime.InteropServices.SafeHandle.DangerousRelease()
System.Runtime.InteropServices.SafeHandle.Dispose()
System.Runtime.InteropServices.SafeHandle.Dispose(System.Boolean)
System.Runtime.InteropServices.SafeHandle.SetHandle(System.IntPtr)
System.Runtime.InteropServices.SafeHandle.SetHandleAsInvalid()
System.Runtime.InteropServices.SafeHandle.IsClosed
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)
System.Object.ToString()
Namespace: NetVips
Assembly: NetVips.dll
Syntax
public class VipsObject : GObject, IDisposable
Methods
| Improve this Doc View SourceGet(String)
Get a GObject property.
Declaration
public virtual object Get(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Arg to fetch. |
Returns
Type | Description |
---|---|
System.Object | The GObject property. |
Remarks
The value of the property is converted to a C# value.
GetBlurb(String)
Get the blurb for a GObject property.
Declaration
public string GetBlurb(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Arg to fetch. |
Returns
Type | Description |
---|---|
System.String | The blurb. |
GetDescription()
Get the description of a GObject.
Declaration
public string GetDescription()
Returns
Type | Description |
---|---|
System.String | The description of a GObject. |
GetTypeOf(String)
Get the GType of a GObject property.
Declaration
public virtual IntPtr GetTypeOf(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the GType to get the type of. |
Returns
Type | Description |
---|---|
System.IntPtr | A new instance of System.IntPtr initialized to the GType or System.IntPtr.Zero if the property does not exist. |
Set(IntPtr, String, Object)
Set a GObject property. The value is converted to the property type, if possible.
Declaration
public virtual void Set(IntPtr gtype, string name, object value)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | gtype | The GType of the property. |
System.String | name | The name of the property to set. |
System.Object | value | The value. |
SetString(String)
Set a series of properties using a string.
Declaration
public bool SetString(string stringOptions)
Parameters
Type | Name | Description |
---|---|---|
System.String | stringOptions | Arguments as a string. |
Returns
Type | Description |
---|---|
System.Boolean | true on success; otherwise, false. |
Remarks
For example: "fred=12, tile" "[fred=12]"
Implements
System.IDisposable