Show / Hide Table of Contents

Class VipsObject

Manage a NetVips.Internal.VipsObject.

Inheritance
System.Object
System.Runtime.ConstrainedExecution.CriticalFinalizerObject
System.Runtime.InteropServices.SafeHandle
GObject
VipsObject
Connection
Image
Interpolate
Operation
Region
Implements
System.IDisposable
Inherited Members
GObject.SignalConnect(String, Delegate, IntPtr)
GObject.ReleaseHandle()
GObject.IsInvalid
GObject.RefCount
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 Source

Get(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

GetDescription()

Get the description of a GObject.

Declaration
public string GetDescription()
Returns
Type Description
System.String

The description of a GObject.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX