• Introduction
  • Programmer's Guide
  • Technical Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • ic4
      • BufferPool
      • DeviceEnum
      • DeviceInfo
      • Display
      • DisplayNotation
      • DisplayRenderPosition
      • DisplayStatistics
      • DisplayType
      • EmbeddedDisplay
      • ErrorCode
      • ExternalOpenGLDisplay
      • FloatRepresentation
      • FloatingDisplay
      • FrameMetaData
      • Grabber
      • HandleObject
      • IBufferAllocator
      • IC4Exception
      • IDisplay
      • ImageBuffer
      • ImageBuffer.CopyOptions
      • ImageBufferExtensions
      • ImageBufferExtensionsOpenCvSharp
      • ImageType
      • IntRepresentation
      • Interface
      • Library
      • LogLevel
      • LogTarget
      • PixelFormat
      • PngCompressionLevel
      • PropBoolean
      • PropCategory
      • PropCommand
      • PropEnumEntry
      • PropEnumeration
      • PropFloat
      • PropId
      • PropIdBoolean
      • PropIdCommand
      • PropIdEnumeration
      • PropIdFloat
      • PropIdInteger
      • PropIdRegister
      • PropIdString
      • PropInteger
      • PropRegister
      • PropString
      • Property
      • PropertyIncrementMode
      • PropertyMap
      • PropertyType
      • PropertyVisibility
      • QueueSink
      • QueueSinkConnectedEventArgs
      • QueueSinkEventArgs
      • QueueSinkQueueSizes
      • Sink
      • SinkMode
      • SinkType
      • SnapSink
      • SnapSinkAllocationStrategy
      • StreamSetupOption
      • StreamStatistics
      • TransportLayerType
      • VersionInfoFlags
      • VideoWriter
      • VideoWriterType

    Class PropRegister

    Register properties have a value represented by raw bytes.

    Inheritance
    object
    HandleObject
    Property
    PropRegister
    Implements
    IDisposable
    Inherited Members
    Property.Notification
    Property.Type
    Property.DisplayName
    Property.Name
    Property.Description
    Property.Tooltip
    Property.Visibility
    Property.IsLocked
    Property.IsLikelyLockedByStream
    Property.IsAvailable
    Property.IsReadonly
    Property.IsSelector
    Property.SelectedProperties
    HandleObject.Dispose(bool)
    HandleObject.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ic4
    Assembly: ic4dotnet.dll
    Syntax
    public class PropRegister : Property, IDisposable
    Remarks

    PropRegister instances are created in multiple ways:

    • By directly querying a PropertyMap for a register property:
      • Find(PropIdRegister)
      • FindRegister(string)
      • TryFind(PropIdRegister, out PropRegister)
      • TryFindRegister(string, out PropRegister)
    • By casting a Property object obtained from one of the functions returning generic property objects:
      • Find(string)
      • TryFind(string, out Property)
      • Features
      • All
      • SelectedProperties

    Properties

    Size

    The size of a register property

    Declaration
    public ulong Size { get; }
    Property Value
    Type Description
    ulong
    Remarks

    The size of a register property is not necessarily constant; it can change depending on the value of other properties.

    Value

    The current value of the register

    The value is only writable is the property's writability is not restricted. See IsLocked, IsReadonly, IsAvailable.

    Declaration
    public IReadOnlyList<byte> Value { get; set; }
    Property Value
    Type Description
    IReadOnlyList<byte>

    A byte array representing the register's contents

    Exceptions
    Type Condition
    IC4Exception

    Check ErrorCode and ToString() for details.

    Implements

    IDisposable
    In this article
    Copyright ©️ 2024 The Imaging Source Europe GmbH www.theimagingsource.com